CADability dotNET
Construct a matrix from a one-dimensional packed array

Namespace: CADability.LinearAlgebra
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public Matrix(
	double[] vals,
	int m
)
Visual Basic
Public Sub New ( _
	vals As Double(), _
	m As Integer _
)
Visual C++
public:
Matrix(
	array<double>^ vals, 
	int m
)

Parameters

vals
Type: array<System..::..Double>[]()[][]
One-dimensional array of doubles, packed by columns (ala Fortran).
m
Type: System..::..Int32
Number of rows.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionArray length must be a multiple of m.

See Also