[26206] in Athena Bugs

home help back first fref pref prev next nref lref last post

Case 709800: Maple bug

daemon@ATHENA.MIT.EDU (3partysw@mit.edu)
Tue Nov 30 16:47:57 2004

Date: Tue, 30 Nov 2004 16:47:19 -0500 (EST)
Message-ID: <22469401.1101851239474.JavaMail.root@sheep.mit.edu>
From: 3partysw@mit.edu
To: MFORBES@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
cc: astronut@mit.edu
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

Hello,

I passed on your question to Maplesoft as I couldn't figure out what was wrong with the code you provided either. I will let you know when I get a response from them.

Thank you and best regards,

Daniel Jamous
Academic Computing

[11/30/2004 16:47:19 jamous Sent Email to Client]

===========================================================
Please retain the case reference in the subject line for future replies associated with this case

Case History
==================

11/30/2004 14:44:33 jamous Other

Category changed from ACS:General ACS to ACS:3rd-Party Software

11/30/2004 14:44:33 jamous Assigned Case

Case assigned to consultant jamous.

11/30/2004 14:46:01 jamous Comment

>From Athena bugs:

Date: Tue, 23 Nov 2004 10:47:54 -0500 (EST)
From: Erica H Peterson <astronut@mit.edu>
To: bugs@mit.edu
Message-ID: <Pine.LNX.4.58L.0411231038540.6371@amalgam.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: mforbes@mit.edu
Errors-To: bugs-bounces@mit.edu


Hello,

OLC received the following question, which appears to indicate a bug in
Maple:

*********************************************************************

Question:
What is wrong with the following code?

with(LinearAlgebra):
lambda6:=Matrix([[0,0,0],[0,0,1],[0,1,0]]):
lambda8:=Matrix([[1,0,0],[0,1,0],[0,0,-2]]):
Sigma1:=MatrixExponential(I*(theta6*lambda6+theta8*lambda8)):
Sigma2:=MatrixExponential(I*(0*lambda6+theta8*lambda8)):

simplify(subs(theta6=0,Sigma1));
simplify(Sigma2);

-----------------------------------
Both of these final expressions should be the same: in particular, they
should have three non-zero diagonal entries.  When executed on the current
version of maple (command line version), the first result is erroneous.

(I have tried this on several platforms with Maple and have found the same
problem.)  If you substitute for a non-zero value, then there is no
problem, but at zero something strange happens.  I have not made any
assuptions about theta6 (such as it being positive etc.) and so the
resulting expression should be valid (there are no singularities in the
result).

*********************************************************************

Thanks,
Erica

11/30/2004 16:47:18 jamous Sent Email to Client

Hello,

I passed on your question to Maplesoft as I couldn't figure out what was wrong with the code you provided either. I will let you know when I get a response from them.

Thank you and best regards,

Daniel Jamous
Academic Computing



home help back first fref pref prev next nref lref last post