Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *Ramp(double Offset, double Step, int Index, int Len); | Fills the calling vector elements [Index]..[Index+Len-1]. |
| 2 | TVecInt *Ramp(); | Fills the calling vector with a series following linear rule. |
| 3 | TVecInt *Ramp(double Offset, double Step); | Fills the calling vector. |
Overload 1: TMtxVecInt *Ramp(double Offset, double Step, int Index, int Len);
Fills the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | double | |
| 2 | Step | double | |
| 3 | Index | int | |
| 4 | Len | 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::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 2: TVecInt *Ramp();
Fills the calling vector with a series following linear rule.
Remarks:
Fills the calling vector with a series following the rule:
Values[k] := k
(Offset is zero and Step is one).
See Also: TVecSmallInt::SetVal
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler
Overload 3: TVecInt *Ramp(double Offset, double Step);
Fills the calling vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | double | |
| 2 | Step | double |
Remarks:
Method uses the following rule:
Values[k] := Offset + k*Step.
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler