TMtxSmallInt::Ramp Method

TMtxVecInt *Ramp(double Offset, double Step, int Index, int Len);

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

#NameTypeDescription
1Offsetdouble
2Stepdouble
3Indexint
4Lenint
Remarks:

Method uses the following rule:

Values[k] := Offset + k*Step.

An exception is raised if calling vector array borders are overrun.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler