TMtxByte.SetZero Method

Overload List

#SignatureDescription
1TMtxInt SetZero(Int32 Row, Int32 Col, Int32 ToRow, Int32 ToCol)Initializes matrix values to zero.
2TMtxVecInt SetZeroSet all calling vector elements to zero.
└ indexed: TMtxVecInt SetZero(Int32 Index, Int32 Len)

Overload 1: TMtxInt SetZero(Int32 Row, Int32 Col, Int32 ToRow, Int32 ToCol)

Initializes matrix values to zero.

#NameTypeDescription
1RowInt32
2ColInt32
3ToRowInt32
4ToColInt32

Result: stored in self (calling object), returns self for chaining

Remarks:

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

Overload 2: TMtxVecInt SetZero

Set all calling vector elements to zero.

Result: stored in self (calling object), returns self for chaining

Indexed: TMtxVecInt SetZero(Int32 Index, Int32 Len)

Set calling vector elements [Index..Index+Len-1] to zero.

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

An exception is raised if array borders are overrun/underrun.