Click or drag to resize

DoubleSymBandMatrix(DoubleVector, Int32, Int32) Constructor

Constructs a DoubleSymBandMatrix instance with the specified dimensions and half bandwidth using the data in the passed vector.

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

Parameters

data  DoubleVector
Matrix data.
order  Int32
The order of the matrix. This is the number of rows and columns.
halfBandwidth  Int32
The half bandwidth.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of rows is less than the bandwidth of the matrix or the data vector has length less than (halfBandwidth + 1) * cols
Remarks
The data in the vector must in the format described in the class summary. The resultant matrix will reference the data in the vector data.
See Also