Registered Member
|
Hello,
I have one little problem using eigen. I declare one matrix
so with 3 columns. then I want to compute for each column the mean value and the standard deviation value. I tried something like :
but seems not working. And I don't even know if a standard-deviation function exists. Can you please give me a hand with this. Thank you for your help |
Registered Member
|
You can use Eigen::Dynamic (and not Eigen::DynamicIndex; I did not even know that constant existed) as a template parameter, to indicate that the number of rows is not known at compile time but the number of columns is, as in
There is no function for computing the standard deviation, as far as I know. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]