Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function SetZero: TMtxVec; | Initializes object elements to zero. |
| └ indexed: function SetZero(Index: Integer; Len: Integer): TMtxVec; | ||
| 2 | function SetZero(Row: Integer; Col: Integer; ToRow: Integer; ToCol: Integer): TMtx; | Initializes matrix values to zero. |
Overload 1: function SetZero: TMtxVec;
Initializes object elements to zero.
Result: stored in self (calling object), returns self for chaining
See Also: Matrix.SetVal
Indexed: function SetZero(Index: Integer; Len: Integer): TMtxVec;
Set all calling object elements to zero.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Integer | start index |
| 2 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
Initializes calling object elements [Index]..[Index+Len-1] to zero. An exception is raised if array borders are overrun.
Overload 2: function SetZero(Row: Integer; Col: Integer; ToRow: Integer; ToCol: Integer): TMtx;
Initializes matrix values to zero.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Row | Integer | |
| 2 | Col | Integer | |
| 3 | ToRow | Integer | |
| 4 | ToCol | Integer |
Result: stored in self (calling object), returns self for chaining
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.