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