-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Lun 10 Jun 2002 05:50, escribió:
> Hi,
>
> I know this thread is very old, but I'm trying to harvest all the
> unapplied patches on the list. Below you refer to "my previous patch." I
> can't seem to find that patch. Could you please resend it?
>
> Has anyone else looked at the patch below? It sounds OK to me, but I
> haven't looked at it in detail.
>
> --Jim
Well, the problem was I sent a first patch to Peter Vafeades which solved the
problem with integrate(diff(f(x,y),x,1,y,1),y); but not with
integrate(x*y*diff(f(x,y),x,1,y,1));
A few days later, I realized that my first patch was sent only to Peter
Vafeades instead of sending it to the list due to problems with the
configuration of my mail user agent and I resent it to the list on Wed,
24 April 2002 (three days later than the second patch). Anyway, here
is a copy:
_______________________________________________________________________________
> when you enter integrate(diff(f(x,y),x,1,y,1),y) into maxima you get f(x,y)
> - a fix for this had been worked out for commercial macsyma but I do not
> have it - can someone help out?
>
> note that integrate(diff(f(x,y),x,1,y,1),x) returns the correct result
Try the following patch
___________________
371c371,374
< expr ;single
- ---
> (if (null old-wrt)
> expr ;single
> `((%derivative), expr ;partial in old-wrt
> ,.(nreverse old-wrt)))
_____________________
in file sin.lisp
The line numbers may be changed in your file as I have already applied
Jenkner's patch. Anyway, the problem lies in the function checkderiv1 and the
patch begins in its sixth line.
It is very instructive to make
to_lisp();
(trace sinint checkderiv1)
and look at what is happening with maxima compiled with cmucl18d because gcl
hides a recursive call in checkderiv1. On the other hand, to realize that the
problem was inside checkderiv1, I had to trace the algorithm with gcl, as
cmucl does not like to trace many functions of maxima.
_________________________________________________________________________________
I suppose both patches could be rearranged in another way, provided that one
realizes that the problem lies both in checkderiv1 and rat10 functions inside
sin.lisp.
Peter Vafeades sent me a mail (private again) telling that these patches had
worked to him in the preparation of a Lie's Algebra package on top of Maxima.
I suppose somebody should ask him at Phroexus@aol.com
Perhaps, he is reading this. If so, he could answer and telling us about its
Lie's algebra package which would be very interesting.
- --
Juan Pablo Hierro Álvarez
hierro en ideafix punto litec punto csic punto es
Clave pública: 0xA8707ADF en pgp.rediris.es
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9Bgz5d1aMoahwet8RAq/8AJ99VgKb4lAQYkY6oeKr84pUh9Ji6QCglVhv
HNmPO3fefbcnr1eb262ExFQ=
=Dxom
-----END PGP SIGNATURE-----