Search   Memberlist   Usergroups
 Page 1 of 1 [3 Posts]
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?
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 := <, <-I*c | c>>; [ c -I c]

M := [ ]
[-I c c ]

Do ?LinearAlgebra and ?Matrix for more information.

--
Rouben Rostamian
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 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 I
guess it knew what it was doing...

Rouben Rostamian wrote:
 Quote: In article <1152220839.109950.62830@m79g2000cwm.googlegroups.com>, OXOTHUK 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 := <, <-I*c | c>>; [ c -I c] M := [ ] [-I c c ] Do ?LinearAlgebra and ?Matrix for more information. -- Rouben Rostamian
Google

 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 Page 1 of 1 [3 Posts]
 The time now is Tue Mar 19, 2019 9:42 am | All times are GMT
 Jump to: Select a forum-------------------Forum index|___Science and Technology    |___Math    |   |___Research    |   |___num-analysis    |   |___Symbolic    |   |___Combinatorics    |   |___Probability    |   |   |___Prediction    |   |       |   |___Undergraduate    |   |___Recreational    |       |___Physics    |   |___Research    |   |___New Theories    |   |___Acoustics    |   |___Electromagnetics    |   |___Strings    |   |___Particle    |   |___Fusion    |   |___Relativity    |       |___Chem    |   |___Analytical    |   |___Electrochem    |   |   |___Battery    |   |       |   |___Coatings    |       |___Engineering        |___Control        |___Mechanics        |___Chemical

 Topic Author Forum Replies Last Post Similar Topics Question about Life. socratus Probability 0 Sun Jan 06, 2008 10:01 pm Probability Question dumont Probability 0 Mon Oct 23, 2006 3:38 pm Question about exponention WingDragon@gmail.com Math 2 Fri Jul 21, 2006 8:13 am question on solartron 1260 carrie_yao@hotmail.com Electrochem 0 Fri Jul 21, 2006 7:11 am 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.0325s ][ Queries: 16 (0.0025s) ][ GZIP on - Debug on ]