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

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void Resize(
	int order
)
Visual Basic (Declaration)
Public Sub Resize ( _
	order As Integer _
)
Visual C++
public:
void Resize(
	int order
)

Parameters

order
Type: System..::.Int32
The order. This is the number of rows and columns.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the number of rows is less than the bandwidth of the matrix.

See Also