Memory problem - OS message when using function norme() - Messages
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
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
thank you for having a look at the reportet problem.
WroteHi,
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
Wrote
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
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
Wrote
Hi mkraska,
Looking your example I've got the same issues, and I can't find any influence of the separator settings...
regards,
w3b5urf3r
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=attachments
Best regards,
Infinity

very strange, could be related with the OS or the framework?
regards,
w3b5urf3r
P.S.: wiki updated for forum attachments
I do not see what we could do except wait for a fix.
WroteHi
very strange, could be related with the OS or the framework?
regards,
w3b5urf3r
P.S.: wiki updated for forum attachments
-
New Posts
-
No New Posts