Author 
Message 
OXOTHUK science forum beginner
Joined: 06 Jul 2006
Posts: 2

Posted: Thu Jul 06, 2006 9:20 pm Post subject:
Maple 10 question



Hi,
I am trying to use Maple for some linear algebra computation and I have
a silly problem that drives me crazy. Here's the math input I use:
M:= linalg[matrix](2,2, [c, I*c, I*c, c]);
So, I pretty much define a 2x2 matrix. Here's the result of the
execution of this string in text format:
[ c Ic]
M := [ ]
[Ic c]
Somewhere along the way matrix element m_{2,1} lost its sign. What???
Is there anything wrong in what I am doing? 

Back to top 


Rouben Rostamian science forum addict
Joined: 01 May 2005
Posts: 85

Posted: Thu Jul 06, 2006 9:57 pm Post subject:
Re: Maple 10 question



In article <1152220839.109950.62830@m79g2000cwm.googlegroups.com>,
OXOTHUK <dmitri.maslov@gmail.com> wrote:
Quote: 
I am trying to use Maple for some linear algebra computation and I have
a silly problem that drives me crazy. Here's the math input I use:
M:= linalg[matrix](2,2, [c, I*c, I*c, c]);
So, I pretty much define a 2x2 matrix. Here's the result of the
execution of this string in text format:
[ c Ic]
M := [ ]
[Ic c]
Somewhere along the way matrix element m_{2,1} lost its sign. What???
Is there anything wrong in what I am doing?

That's strange, because I am getting the expected answer:
Quote:  restart;
M:= linalg[matrix](2,2, [c, I*c, I*c, c]);
[ c I c] 
M := [ ]
[I c c ]
Quote:  kernelopts(version);
Maple 10.04, IBM INTEL LINUX, May 30 2006 Build ID 233114 
Is your version 10.04? If not, try to upgrade it.
Aside: The linalg package have been superseded by the LinearAlgebra
package. Try the new syntax:
Quote:  M := <<c  I*c>, <I*c  c>>;
[ c I c] 
M := [ ]
[I c c ]
Do ?LinearAlgebra and ?Matrix for more information.

Rouben Rostamian 

Back to top 


OXOTHUK science forum beginner
Joined: 06 Jul 2006
Posts: 2

Posted: Fri Jul 07, 2006 12:41 am Post subject:
Re: Maple 10 question



Hi,
My version was
Maple 10
as of May 13, 2005
I downloaded an upgrade and my new version,
Maple 10.04
as of May 30, 2006,
does not have this error!!! Now, all calculations seem to work the way
they are supposed to. Thanks a lot!
For those of you who cannot believe me this problem has happenedfeel
free to ask me for the Maple 10 version (as of May 13, 2005) which I
still have on a CD.
Dmitri
PS I tried the new syntax before which worked out the same way on the
old verson, meaning with the same exact error. I tried to trick Maple
by multiplying m_{2,1} by sin(Pi/2), and it did not work either I
guess it knew what it was doing...
Rouben Rostamian wrote:
Quote:  In article <1152220839.109950.62830@m79g2000cwm.googlegroups.com>,
OXOTHUK <dmitri.maslov@gmail.com> wrote:
I am trying to use Maple for some linear algebra computation and I have
a silly problem that drives me crazy. Here's the math input I use:
M:= linalg[matrix](2,2, [c, I*c, I*c, c]);
So, I pretty much define a 2x2 matrix. Here's the result of the
execution of this string in text format:
[ c Ic]
M := [ ]
[Ic c]
Somewhere along the way matrix element m_{2,1} lost its sign. What???
Is there anything wrong in what I am doing?
That's strange, because I am getting the expected answer:
restart;
M:= linalg[matrix](2,2, [c, I*c, I*c, c]);
[ c I c]
M := [ ]
[I c c ]
kernelopts(version);
Maple 10.04, IBM INTEL LINUX, May 30 2006 Build ID 233114
Is your version 10.04? If not, try to upgrade it.
Aside: The linalg package have been superseded by the LinearAlgebra
package. Try the new syntax:
M := <<c  I*c>, <I*c  c>>;
[ c I c]
M := [ ]
[I c c ]
Do ?LinearAlgebra and ?Matrix for more information.

Rouben Rostamian 


Back to top 


Google


Back to top 



The time now is Tue Jul 25, 2017 6:51 am  All times are GMT

