Lydos.Matlab

Matrix.FromArray Method (Double[], Int32)

Creates a matrix from a row major array.

[Visual Basic]
Shared  OverloadsPublic Function FromArray( _ 
   ByVal matrix As Double(), _ 
   ByVal cols As Integer _ 
) As Matrix
[C#]
public static Matrix FromArray(
   double[] matrix,
   int cols
);
[C++]
public: static Matrix* FromArray(
   double matrix __gc[],
   int cols
);
[JScript]
public static function FromArray(
   double[] matrix,
   int cols
): Matrix;

Parameters

matrix
Matrix in row major order.
cols
The number of columns.

See Also

Matrix Class | Lydos.Matlab Namespace | Matrix.FromArray Overload List