MtxExprInt::Ramp Function

Overload List

#SignatureDescription
1VectorInt Ramp(const int Len);Returns a VectorInt of [0, 1, .., Len-1] numbers.
2VectorInt Ramp(const int Len, const double Offset, const double Step);Returns a VectorInt of [Offset, Offset+Step, .., Offset+(Len-1)*Step] numbers.

Overload 1: VectorInt Ramp(const int Len);

Returns a VectorInt of [0, 1, .., Len-1] numbers.

#NameTypeDescription
1Lenconst int
Remarks:

Internally calls TVecInt::Ramp

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler

Overload 2: VectorInt Ramp(const int Len, const double Offset, const double Step);

Returns a VectorInt of [Offset, Offset+Step, .., Offset+(Len-1)*Step] numbers.

#NameTypeDescription
1Lenconst int
2Offsetconst double
3Stepconst double
Remarks:

Internally calls TVecInt::Ramp

Declared in Dew::Math::Units::MtxExprInt · Dew.Math/Units.MtxExprInt.h · Cross-compiler