You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > SetZero Method > MatrixInt.SetZero Method (integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.SetZero Method (integer, integer, integer, integer)

Initializes matrix values to zero.

Pascal
function SetZero(Row: integer; Col: integer; ToRow: integer; ToCol: integer): TMtxInt; overload;

Sets the calling matrix elements [Row,Col]..[ToRow,ToCol] to zero. An exception is raised if TMtxVecBase.ConditionCheck is true and array bounds are overrun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!