Click or drag to resize

ConnectivityMatrix(DoubleVector, Int32) Constructor

Constructs a ConnectivityMatrix 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 ConnectivityMatrix(
	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 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