TMtx.SetZero Method

Overload List

#SignatureDescription
1TMtx SetZero(Int32 Row, Int32 Col, Int32 ToRow, Int32 ToCol)Initializes matrix values to zero.
2TMtxVec SetZeroInitializes object elements to zero.
└ indexed: TMtxVec SetZero(Int32 Index, Int32 Len)

Overload 1: TMtx 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: TMtxVec SetZero

Initializes object elements to zero.

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

Indexed: TMtxVec SetZero(Int32 Index, Int32 Len)

Initializes calling object 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.