GeneralMatrix Constructor (Double[], Int32)

DotNetMatrix

An NDoc Documented Class Library

GeneralMatrix Constructor (Double[], Int32)

Construct a matrix from a one-dimensional packed array

[Visual Basic]Overloads Public Sub New( _
   ByVal vals As Double(), _
   ByVal m As Integer _
)
[C#]
public GeneralMatrix(
   double[] vals,
   int m
);

Parameters

vals
One-dimensional array of doubles, packed by columns (ala Fortran).
m
Number of rows.

Exceptions

Exception Type Condition
ArgumentException Array length must be a multiple of m.

See Also

GeneralMatrix Class | DotNetMatrix Namespace | GeneralMatrix Constructor Overload List