TAbstractMtxVecInt.Ramp Method

function Ramp(Offset,Step: double; Index,Len: integer): TMtxVecInt; overload;

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

#NameTypeDescription
1Offsetdoublescalar
2Stepdoublescalar
3Indexintegerstart index
4Lenintegerelement 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.