Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
Hello, under Windows 7 using build 4559 I get a strange error message when trying the following: The message is not from SMath (does not appear in the lang file and does not react on GUI language setting). It says "It was tried to read or write in the protected memory. This is often a hint on that some other memory is defect." Whatever that means... This happens independently of the matrix shape. I tried some older versions: 0.93 refuses to execute any of the norm functions with units 0.94 (build 4544) computes all norms but fails to recognize the unit exponents as zero (optimization numeric, as can be seen from the decimal fraction of the result). All versions show the error message "Matrix must be square" when calling norme() with a scalar. - I would expect the euclidean norm to work with any matrix shape, at least with column vectors.
- If the SMath implementation of the euclidean norm is really limited to square matrices, than I would expect a corresponding error message for any non-square argument, not just for scalars.
Best regards, Martin Kraska Edited by user 23 March 2014 19:00:20(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member Groups: Registered
Joined: 19/01/2012(UTC) Posts: 12 Was thanked: 3 time(s) in 2 post(s)
|
Hi,
could you please try to change your regional settings in Tools->Options to: - Decimal symbol . (period) - Argument separator ;(semicolon)
In my case when I use . (period) as decimal symbol norme(...) works, but fails with , (comma) as decimal symbol.
Best regards, Infinity
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
Hello Infinity, thank you for having a look at the reportet problem. Originally Posted by: Infinity Hi,
could you please try to change your regional settings in Tools->Options to: - Decimal symbol . (period) - Argument separator ;(semicolon)
In my case when I use . (period) as decimal symbol norme(...) works, but fails with , (comma) as decimal symbol.
Best regards, Infinity In fact, I normally use german setting with . as decimal separator and , as argument separator. I extend your proposal to going through the setting permutations for both. This is what I observe (all with 4559 and english front end setting) dec sep . arg sep , --> memory problem/sqare matrix requested dec sep . arg sep ; --> memory problem/sqare matrix requested dec sep , arg sep . --> memory problem/sqare matrix requested dec sep , arg sep ; --> memory problem/sqare matrix requested dec sep ; arg sep . --> memory problem/sqare matrix requested dec sep ; arg sep , --> memory problem/sqare matrix requested Thus I can't find any influence of the separator settings (would have been odd, wouldn't it?). However, the example does not contain any dec separator, unless there is a computed result. May be, you use a different SMath version? May be, my computer is somehow broken? Best regards, Martin Kraska |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,650 Location: Italy Was thanked: 1338 time(s) in 878 post(s)
|
Originally Posted by: mkraska In fact, I normally use german setting with . as decimal separator and , as argument separator. I extend your proposal to going through the setting permutations for both. This is what I observe (all with 4559 and english front end setting)
[...]
Thus I can't find any influence of the separator settings (would have been odd, wouldn't it?). However, the example does not contain any dec separator, unless there is a computed result.
May be, you use a different SMath version? May be, my computer is somehow broken?
Best regards, Martin Kraska
Hi mkraska, Looking your example I've got the same issues, and I can't find any influence of the separator settings... regards, w3b5urf3r Edited by user 03 July 2012 02:18:23(UTC)
| Reason: Not specified File Attachment(s): norm.sm (11kb) downloaded 23 time(s). Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
Hi, thank you for digging into the details and showing that the OS message is not a local problem at my computer. BTW, how did you create the attachment? I don't get insight via quoting. Obviously you did bypass the wiki file management... Best regards, Martin Kraska Originally Posted by: w3b5urf3r_reloaded Hi mkraska, Looking your example I've got the same issues, and I can't find any influence of the separator settings... regards, w3b5urf3r |
|
|
|
|
Rank: Member Groups: Registered
Joined: 19/01/2012(UTC) Posts: 12 Was thanked: 3 time(s) in 2 post(s)
|
Hi, in my case, I use XP and not Win 7. When I use a . (period) as separator, it works but not with , (comma) as separator. Have a look at my attachments. So that is the reason why I brought up the decimal separator question. I took the file w3b5urf3r_reloaded posted. BTW, how to attach files: http://en.smath.info/forum/yaf_help_index.aspx?faq=attachmentsBest regards, Infinity Infinity attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,650 Location: Italy Was thanked: 1338 time(s) in 878 post(s)
|
Hi very strange, could be related with the OS or the framework? regards, w3b5urf3r P.S.: wiki updated for forum attachments Edited by user 03 July 2012 11:17:33(UTC)
| Reason: Not specified Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
Thanks a lot, also to Infinity. The thanks button just gives me the message "Error occured". I do not see what we could do except wait for a fix. Originally Posted by: w3b5urf3r_reloaded Hi very strange, could be related with the OS or the framework? regards, w3b5urf3r P.S.: wiki updated for forum attachments |
|
|
|
|
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.