Changes the dimensions of this matrix to those specified. Matrix values are not preserved during this operation and are reset to zero.

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

Syntax

C#
public DoubleMatrix ResizeAndClear(
	int rows,
	int cols
)
Visual Basic (Declaration)
Public Function ResizeAndClear ( _
	rows As Integer, _
	cols As Integer _
) As DoubleMatrix
Visual C++
public:
DoubleMatrix^ ResizeAndClear(
	int rows, 
	int cols
)

Parameters

rows
Type: System..::.Int32
The number of rows.
cols
Type: System..::.Int32
The number of columns.

Return Value

This matrix.

See Also