function Ramp(Offset,Step: double; Index,Len: integer): TMtxVecInt; overload;
Fills the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | double | scalar |
| 2 | Step | double | scalar |
| 3 | Index | integer | start index |
| 4 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
Method uses the following rule:
Values[k] := Offset + k*Step.
An exception is raised if calling vector array borders are overrun.