1 Pages (7 items)
error in inverting matrix - Messages
#1 Posted: 2/11/2010 3:28:00 PM
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
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
#2 Posted: 2/11/2010 3:46:07 PM
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.
det(M)=-1 so it is not zero
if i change the matrix, to get a different determinant, not -1, then it wors.
#3 Posted: 2/11/2010 3:49:04 PM
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.
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.
#4 Posted: 2/11/2010 3:53:19 PM
OK, I see now, thanks. Will check in 5 hrs.
#5 Posted: 2/11/2010 9:01:07 PM
Figured out that this error was in previous versions of SMath Studio as well when trying to evaluate symbolically:
[MATH](1/sqrt(2)*mat(1;-1;0;0;0;0;1;-1;1;1;0;0;0;0;1;1;4;4))^{-1}—#[/MATH]
Starting work to fix it.
[MATH](1/sqrt(2)*mat(1;-1;0;0;0;0;1;-1;1;1;0;0;0;0;1;1;4;4))^{-1}—#[/MATH]
Starting work to fix it.
#7 Posted: 2/15/2010 1:18:02 AM
Here is modified version of SyLib.dll file for SMath Studio 0.87 where this bug fixed: https://smath.com/files/Download/hkzMV (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.
You can use it till next version of the program will be released.
Regards.
1 Pages (7 items)
-
New Posts
-
No New Posts