TOpenCLMtxVec SetZero
Initializes object elements to zero.
Result: stored in self (calling object), returns self for chaining
Indexed: TOpenCLMtxVec SetZero(Int32 Index, Int32 Len)
Initializes calling object elements [Index]..[Index+Len-1] to zero.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Int32 | start index |
| 2 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
An exception is raised if array borders are overrun.