Click or drag to resize

FloatSymmetricMatrix(FloatVector, Int32) Constructor

Constructs a FloatSymmetricMatrix 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 FloatSymmetricMatrix(
	FloatVector data,
	int order
)

Parameters

data  FloatVector
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 symmetric matrix.
Remarks
The data vector must be formatted as described in the class summary. The resultant matrix references the same data as the vector. This constructor assumes that the order supplied is correct.
See Also