Click or drag to resize

DoubleHermitianMatrix(DoubleComplexVector, Int32) Constructor

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

Parameters

data  DoubleComplexVector
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 Hermitian 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