#10187: Update ecl and maxima
------------------------------------------+---------------------------------
Reporter: vbraun | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.6.1
Component: packages | Keywords:
Author: Volker Braun, David Kirkby | Upstream: Workaround found; Bug
reported upstream.
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
------------------------------------------+---------------------------------
Comment(by kcrisman):
Okay, after running all (not long) doctests, I get the following error in
addition to the taylor error above, on Mac OS X 10.6, applied to a brand-
new Sage 4.6.1.alpha1 build:
{{{
sage -t devel/sage/sage/plot/plot3d/transform.pyx
**********************************************************************
File "/Users/.../sage-4.6.1.alpha1/devel/sage-
main/sage/plot/plot3d/transform.pyx", line 217:
sage: m
Expected:
[ -(cos(theta) - 1)*x^2 +
cos(theta) -(cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*x +
sin(theta)*abs(z) -((cos(theta) - 1)*x*z^2 + sqrt(-x^2 - z^2 +
1)*sin(theta)*abs(z))/z]
[ -(cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*x -
sin(theta)*abs(z) (cos(theta) - 1)*x^2 +
(cos(theta) - 1)*z^2 + 1 -((cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*z*abs(z)
- x*z*sin(theta))/abs(z)]
[ -((cos(theta) - 1)*x*z^2 - sqrt(-x^2 - z^2 +
1)*sin(theta)*abs(z))/z -((cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*z*abs(z) +
x*z*sin(theta))/abs(z) -(cos(theta)
- 1)*z^2 + cos(theta)]
Got:
[ -(cos(theta) - 1)*x^2 +
cos(theta) -(cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*x +
abs(z)*sin(theta) -((cos(theta) - 1)*x*z^2 + sqrt(-x^2 - z^2 +
1)*abs(z)*sin(theta))/z]
[ -(cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*x -
abs(z)*sin(theta) (cos(theta) - 1)*x^2 +
(cos(theta) - 1)*z^2 + 1 -((cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*z*abs(z)
- x*z*sin(theta))/abs(z)]
[ -((cos(theta) - 1)*x*z^2 - sqrt(-x^2 - z^2 +
1)*abs(z)*sin(theta))/z -((cos(theta) - 1)*sqrt(-x^2 - z^2 + 1)*z*abs(z) +
x*z*sin(theta))/abs(z) -(cos(theta)
- 1)*z^2 + cos(theta)]
**********************************************************************
}}}
There are several transpositions of `abs(z)*sin(theta)` in this one, just
like the transposition of `psi(1, 1/3)*log(3)` in the other error.
I get
{{{
sage: sage.calculus.calculus.maxima.eval('taylor(gamma(1/3+x),x,0,3)')
'gamma(1/3)-(6*%gamma+%pi*sqrt(3)+9*log(3))*gamma(1/3)*x/6+(12*%gamma^2+(4*%pi*sqrt(3)+36*log(3))*%gamma+6*log(3)*%pi*sqrt(3)+%pi^2+27*log(3)^2+12*psi[1](1/3))*gamma(1/3)*x^2/24+(72*gamma(1/3)*psi[2](1/3)+(-72*%gamma^3+(-36*%pi*sqrt(3)-324*log(3))*%gamma^2+(-108*log(3)*%pi*sqrt(3)-18*%pi^2-486*log(3)^2-216*psi[1](1/3))*%gamma+(-%pi^3+(-81*log(3)^2-36*psi[1](1/3))*%pi)*sqrt(3)-27*log(3)*%pi^2-243*log(3)^3-324*psi[1](1/3)*log(3))*gamma(1/3))*x^3/432'
}}}
which looks like the 'expected' line. I also get
{{{
sage: psi(1,1/3)*log(3)
log(3)*psi(1, 1/3)
}}}
which perhaps is the issue. What do people who do not have problems with
this doctest get for this? (If the same for Maxima, but different for
Sage, maybe it's a platform-dependent Pynac issue ... why on earth would
that happen?)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10187#comment:39>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.