Click or drag to resize

DoubleBandMatrix(DoubleVector, Int32, Int32, Int32, Int32) Constructor

Constructs a DoubleBandMatrix instance with the specified dimensions and upper and lower bandwidths using the data in the given vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleBandMatrix(
	DoubleVector data,
	int rows,
	int cols,
	int lowerBandwidth,
	int upperBandwidth
)

Parameters

data  DoubleVector
The matrix data.
rows  Int32
The number of matrix rows.
cols  Int32
The number of matrix columns.
lowerBandwidth  Int32
The lower bandwidth.
upperBandwidth  Int32
The upper 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 (lowerBandwidth + upperBandWidth +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