
Hello all,
is it really not possible to transpose a vector?
i mean
A = new Vector
A_transposed = A'
shouldnt be a big problem? Or with other words this is needed
really often, isnt it?
regards,
michael



It doesn't make sense in Math.NET Numerics.
A vector here is neither a rowvector nor columnvector, unlike in Matlab.
It is just closer to a c# single dimension array.
If you need to distinguish, you can always use a 1xN or Nx1 Matrix.
You can get from a Vector to the corresponding Row or Column Matrix using:
Vector.ToRowMatrix() and Vector.ToColumnMatrx()



thank you for the help and the great explanation,
really fast and informative.
Thank you,
michael


Jul 16, 2014 at 12:36 PM
Edited Jul 16, 2014 at 3:04 PM

by the way, could you please help me with a matrix access?
How could i do this matlab syntax?
Mnew = M (:,2)
or
Mnew = M(3,end)
and is slicing only in f# possible? Because
Matrix<double> Mnew = M[0,2..4]
causes problems?
do you have experiences here also?
michael



You can use the SubMatrix() method to extract contiguous slices.



thank you.

