Click or drag to resize

DoubleBandMatrixResize(Int32, Int32, Int32, Int32) Method

Changes the dimensions and bandwidths of this matrix to those specified, adding zeros or truncating as necessary.

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

Parameters

rows  Int32
The number of rows.
cols  Int32
The number of 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.
See Also