Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function SetZero: TMtxVecInt; | Set all calling vector elements to zero. |
| └ indexed: function SetZero(const Index: Integer; const Len: Integer): TMtxVecInt; | ||
| 2 | function SetZero(Row: Integer; Col: Integer; ToRow: Integer; ToCol: Integer): TMtxInt; | Initializes matrix values to zero. |
Overload 1: function SetZero: TMtxVecInt;
Set all calling vector elements to zero.
Result: stored in self (calling object), returns self for chaining
Indexed: function SetZero(const Index: Integer; const Len: Integer): TMtxVecInt;
Set calling vector elements [Index..Index+Len-1] 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:
An exception is raised if array borders are overrun/underrun.
Overload 2: function SetZero(Row: Integer; Col: Integer; ToRow: Integer; ToCol: Integer): TMtxInt;
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]..[ToRow,ToCol] to zero. An exception is raised if TMtxVecBase.ConditionCheck is true and array bounds are overrun.