MatrixInt::Ramp Method

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

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

#NameTypeDescription
1Offsetconst double
2Stepconst double
3Indexconst int
4Lenconst int
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::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler