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 mkraska  
#1 Posted : 01 July 2012 16:25:23(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 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.
  1. I would expect the euclidean norm to work with any matrix shape, at least with column vectors.
  2. 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

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx

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

Offline Infinity  
#2 Posted : 02 July 2012 16:48:24(UTC)
Infinity


Rank: Member

Groups: Registered
Joined: 19/01/2012(UTC)
Posts: 12
Man

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
Offline mkraska  
#3 Posted : 02 July 2012 20:55:02(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Hello Infinity,

thank you for having a look at the reportet problem.

Originally Posted by: Infinity Go to Quoted Post
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









Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Davide Carpi  
#4 Posted : 03 July 2012 02:04:39(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: mkraska Go to Quoted Post

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, Good

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):
norm.png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#5 Posted : 03 July 2012 10:17:33(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 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 Go to Quoted Post

Hi mkraska, Good

Looking your example I've got the same issues, and I can't find any influence of the separator settings...


regards,

w3b5urf3r


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Infinity  
#6 Posted : 03 July 2012 10:34:55(UTC)
Infinity


Rank: Member

Groups: Registered
Joined: 19/01/2012(UTC)
Posts: 12
Man

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=attachments

Best regards,
Infinity
Infinity attached the following image(s):
Clipboard01.jpg
Clipboard02.jpg
Offline Davide Carpi  
#7 Posted : 03 July 2012 11:05:19(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hi Good

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):
norme.png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#8 Posted : 03 July 2012 21:00:35(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 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 Go to Quoted Post
Hi Good

very strange, could be related with the OS or the framework?


regards,

w3b5urf3r

P.S.: wiki updated for forum attachments


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
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.