MatrixInt.Ramp Method

TMtxInt Ramp(Double Offset, Double Step, Int32 Index, Int32 Len)

Fills the calling vector elements [Index]..[Index+Len-1].

#NameTypeDescription
1OffsetDoublescalar
2StepDoublescalar
3IndexInt32start index
4LenInt32element 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.