1 Pages (5 items)
What's wrong with the "norme" function? - norme function gives strange error message and won't work - Messages
#1 Posted: 9/1/2012 11:24:16 AM
I've tried using the "norme" function -- the function that calculates the Euclidean norm of a vector (or matrix) -- and can't get it to work. For example, when I try:
s:mat(1,2,3,4,5,5,1)
norme(s)=
It won't calculate the Euclidean norm. Instead I get this strange message:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Not a big deal, since you can define your own "norme" function, e.g.,
NormE(F):line(nn:length(F),sqrt(sum((el(F,k)^2),k,1,nn)),2,1)
but, if it's listed in the "function" collection, it'd be nice to have it working properly.
September 1st, 2012
s:mat(1,2,3,4,5,5,1)
norme(s)=
It won't calculate the Euclidean norm. Instead I get this strange message:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Not a big deal, since you can define your own "norme" function, e.g.,
NormE(F):line(nn:length(F),sqrt(sum((el(F,k)^2),k,1,nn)),2,1)
but, if it's listed in the "function" collection, it'd be nice to have it working properly.
September 1st, 2012
#2 Posted: 9/2/2012 4:54:36 PM
That is strange...
The norme() does not work on the laptop with Win7 "error: Atempted to read or write protected memory..." - but it does works at the desktop with WinXP.
[MATH=eng]s:mat(1,2,3,4,5,5,1)[/MATH]
[MATH=eng]norme(s)=7.4162[/MATH]
[LIVE width=248 height=98]http://smath.info/live/?file=3913[/LIVE]
Regards,
Radovan

The norme() does not work on the laptop with Win7 "error: Atempted to read or write protected memory..." - but it does works at the desktop with WinXP.
[MATH=eng]s:mat(1,2,3,4,5,5,1)[/MATH]
[MATH=eng]norme(s)=7.4162[/MATH]
[LIVE width=248 height=98]http://smath.info/live/?file=3913[/LIVE]
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 9/3/2012 3:22:08 AM
same error with Win7 desktop.
sergio
sergio
#4 Posted: 5/17/2013 9:29:55 AM
#5 Posted: 5/17/2013 10:03:03 AM
Good, I'll disable the customFunctions workaround
regards,
w3b5urf3r




regards,
w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 Pages (5 items)
-
New Posts
-
No New Posts