Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline buenos  
#1 Posted : 11 February 2010 21:28:00(UTC)
buenos

Rank: Newbie

Groups: Registered
Joined: 06/02/2010(UTC)
Posts: 8
Location: uk

hi

i was trying to invert a matrix with smath winxp 2010-feb10 version.
It gives me an error that "matrix is noninvertible (determinant equals zero)".
the determinant is not zero, i have checked. i have tried the M^-1 and invert(M) too. but gives the same error.

if i do this, then it works, calculates the result:
M:=...
M^-1= RESULT

if I do this, then it does not work:
M:=...
M2:=M^-1
M2= ERROR

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline buenos  
#2 Posted : 11 February 2010 21:46:07(UTC)
buenos

Rank: Newbie

Groups: Registered
Joined: 06/02/2010(UTC)
Posts: 8
Location: uk

M=1/sqrt(2)*mat(1,-1,0,0,0,0,1,-1,1,1,0,0,0,0,1,1,4,4)
det(M)=-1 so it is not zero
if i change the matrix, to get a different determinant, not -1, then it wors.
Offline Andrey Ivashov  
#3 Posted : 11 February 2010 21:49:04(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello.

I can't reproduce this error with my matrices:


Could you please send your full example to support[at]smath[dot].info?

Best regards, Andrey Ivashov.
Offline Andrey Ivashov  
#4 Posted : 11 February 2010 21:53:19(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
OK, I see now, thanks. Will check in 5 hrs.
Offline Andrey Ivashov  
#5 Posted : 12 February 2010 03:01:07(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Figured out that this error was in previous versions of SMath Studio as well when trying to evaluate symbolically:
(1/sqrt(2)*mat(1;-1;0;0;0;0;1;-1;1;1;0;0;0;0;1;1;4;4))^{-1}—#

Starting work to fix it.
Offline buenos  
#6 Posted : 12 February 2010 04:01:01(UTC)
buenos

Rank: Newbie

Groups: Registered
Joined: 06/02/2010(UTC)
Posts: 8
Location: uk

ok,
thanks.
Offline Andrey Ivashov  
#7 Posted : 15 February 2010 07:18:02(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Here is modified version of SyLib.dll file for SMath Studio 0.87 where this bug fixed: http://smath.info/?file=739022 (just unpack it and replace original SyLib.dll from Program Files/SMath/SMath Studio folder).
You can use it till next version of the program will be released.

Regards.

Edited by user 15 February 2010 07:20:05(UTC)  | Reason: Not specified

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.