-
willisbl committed patchset 7901 of module maxima to the Maxima -- GPL CAS based on DOE-MACSYMA CVS repository, changing 1 files.
2009-12-08 12:32:57 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
Additional bug:
(%i4) gcdex(z^2-1,0,z);
Quotient by zero
#0: gcdex(f=z^2-1,g=0,var=[z])(gcdex.mac line 29)
-- an error. To debug this try debugmode(true);.
2009-12-01 11:59:27 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
If you change intergerp to integerp, your code will run to completion. With the typo,
it is a bug that Maxima cannot run the code to the end. But it's a pretty minor bug.
I think it would be OK to close this as invalid.
2009-12-01 11:44:22 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
OK:
(%i1) gcdex(x-7,x-8);
(%o1) [1,-1,1]
Not OK:
(%i2) q0[2] : 6$
(%i3) gcdex(x-7,x-8);
(%o3) [1/6,-q0[1]/6,1].
2009-11-30 11:49:00 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
Possible fix:
(defmfun $ezgcd (&rest args)
(prog (pfl allvars presult flag genvar denom pfl2)
;;need if genvar doesn't shrink
(when (null args)
(wna-err '$ezgcd))
(when (some #'$ratp args)
(setq flag t)) ;; was (return (setq flag t)))
2009-11-30 11:20:32 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
OK:
(%i1) apply(ezgcd,[x-5,x-9]);
(%o1) [1,x-5,x-9]
Not OK:
(%i2) apply(ezgcd,[rat(x-5),x-9]);
(%o2) true.
2009-11-29 02:22:00 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
Two bugs: First, lcm(0,6,0) = 0, not a division by zero error. Second, if lcm is redefined by loading
funcs.mac, we need to eliminate one definition.
(%i1) lcm(0,6,0);
Warning - you are redefining the Maxima function lcm
Division by 0
Finally, lcm should be able to find the lcm of 200 numbers:
(%i14) l : makelist(random(100)+1,i,1,200)$
(%i15) apply('lcm,l)$
Maxima encountered a...
2009-11-29 02:21:15 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
I'm guessing that the user expected log(abs(sec(x))). Calculus texts, (I don't know about non U.S., books) insist on the abs, but the abs makes the result wrong on the entire complex plane.
2009-11-18 12:10:12 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
Workaround
(%i1) load(abs_integrate)$
(%i2) plot2d(integrate(signum(x),x,-2,y),[y,-1,2]);.
2009-11-06 23:22:36 UTC in Maxima -- GPL CAS based on DOE-MACSYMA
-
willisbl committed patchset 7781 of module maxima to the Maxima -- GPL CAS based on DOE-MACSYMA CVS repository, changing 2 files.
2009-11-02 10:55:51 UTC in Maxima -- GPL CAS based on DOE-MACSYMA