Click or drag to resize

DoubleUpperTriMatrix(DoubleVector, Int32) Constructor

Constructs a square DoubleUpperTriMatrix instance with the specified size, and using the data in the given vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleUpperTriMatrix(
	DoubleVector data,
	int order
)

Parameters

data  DoubleVector
The matrix data.
order  Int32
The size of the square matrix (order x order).
Exceptions
ExceptionCondition
MatrixNotSquareException Thrown if the given vector is not large enough to fill an order x order square triangular matrix.
Remarks
The data vector must be formatted as described in the class summary. The resultant matrix references the same data as the vector.
See Also