Re: [Math] Normalizing a random vector.

2014-12-07 Thread Gilles
On Sun, 7 Dec 2014 08:16:40 -0800, Ajo Fod wrote: Is there way in the current codebase to get Y = (X- mean(X))/Sdev(X). where X is a vector ? I don't know. I guess that the right place to look for it (or to add it) is somewhere in the "stat" package. Is it really proper naming to call this "

Re: [Math] Normalizing a random vector.

2014-12-07 Thread Luc Maisonobe
Le 07/12/2014 17:16, Ajo Fod a écrit : > Is there way in the current codebase to get Y = (X- mean(X))/Sdev(X). > where X is a vector ? Not in one operation. You need to first uset toArray, next to compute the mean and standard deviation, and finally to evaluate the expression for all components.

[Math] Normalizing a random vector.

2014-12-07 Thread Ajo Fod
Is there way in the current codebase to get Y = (X- mean(X))/Sdev(X). where X is a vector ? -Ajo.