FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math » Symbolic
Maple 10 question
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
OXOTHUK
science forum beginner


Joined: 06 Jul 2006
Posts: 2

PostPosted: Thu Jul 06, 2006 9:20 pm    Post subject: Maple 10 question Reply with quote

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

PostPosted: Thu Jul 06, 2006 9:57 pm    Post subject: Re: Maple 10 question Reply with quote

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

PostPosted: Fri Jul 07, 2006 12:41 am    Post subject: Re: Maple 10 question Reply with quote

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 happened---feel
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 Wink 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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Tue Jul 25, 2017 6:51 am | All times are GMT
Forum index » Science and Technology » Math » Symbolic
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Question about Life. socratus Probability 0 Sun Jan 06, 2008 10:01 pm
No new posts Probability Question dumont Probability 0 Mon Oct 23, 2006 3:38 pm
No new posts Question about exponention WingDragon@gmail.com Math 2 Fri Jul 21, 2006 8:13 am
No new posts question on solartron 1260 carrie_yao@hotmail.com Electrochem 0 Fri Jul 21, 2006 7:11 am
No new posts A Combinatorics/Graph Theory Question mathlover Undergraduate 1 Wed Jul 19, 2006 11:30 pm

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums  |  send newsletters
 


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0219s ][ Queries: 16 (0.0055s) ][ GZIP on - Debug on ]