Matrix::SetZero Method

Overload List

#SignatureDescription
1TMtxVec *SetZero() const;Initializes object elements to zero.
2TMtxVec *SetZero(int Index, int Len) const;Set all calling object elements to zero.
3TMtx *SetZero(int Row, int Col, int ToRow, int ToCol) const;Initializes matrix values to zero.

Overload 1: TMtxVec *SetZero() const;

Initializes object elements to zero.

See Also: Matrix::SetVal
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TMtxVec *SetZero(int Index, int Len) const;

Set all calling object elements to zero.

#NameTypeDescription
1Indexint
2Lenint
Remarks:

Initializes calling object elements [Index]..[Index+Len-1] to zero. An exception is raised if array borders are overrun.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: TMtx *SetZero(int Row, int Col, int ToRow, int ToCol) const;

Initializes matrix values to zero.

#NameTypeDescription
1Rowint
2Colint
3ToRowint
4ToColint
Remarks:

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

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler