TMtxInt::Resize Method

Overload List

#SignatureDescription
1TMtxInt *Resize(int NewRows, int NewCols);Resizes the matrix, while preserving the values in already allocated memory.
2TMtxInt *Resize(TMtxInt *Src, int NewRows, int NewCols);Performs resize of the calling matrix to NewRows and NewCols.

Overload 1: TMtxInt *Resize(int NewRows, int NewCols);

Resizes the matrix, while preserving the values in already allocated memory.

#NameTypeDescription
1NewRowsint
2NewColsint
Remarks:

Sets the TMtxInt::Rows property to NewRows, TMtxInt::Cols property to NewCols, while preserving the values in already allocated memory.

See Also: TMtxInt::Size
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler

Overload 2: TMtxInt *Resize(TMtxInt *Src, int NewRows, int NewCols);

Performs resize of the calling matrix to NewRows and NewCols.

#NameTypeDescription
1SrcTMtxInt *
2NewRowsint
3NewColsint
Remarks:

Sopies the Src matrix values to the calling matrix. The elements outside the newly created matrix size are not referenced.

Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler