Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec *Ramp(); | Fills the calling vector with a series following linear rule. |
| 2 | TVec *Ramp(const TCplx &Offset, const TCplx &Step); | Fills the calling vector with a series. |
| 3 | TVec *Ramp(const double Offset, const double Step); | Fills the calling vector. |
| 4 | TVec *Ramp(const double Offset, const double Step, int Index, int Len); | Fills the calling vector elements [Index]..[Index+Len-1]. |
| 5 | TVec *Ramp(const TCplx &Offset, const TCplx &Step, int Index, int Len); | Fills the calling vector elements [Index]..[Index+Len-1]. |
| 6 | TVec *Ramp(const TCplx &Offset, const double Step); | The Offset is complex, but the step is real. |
| 7 | TVec *Ramp(const TCplx &Offset, const double Step, int Index, int Len); | Fills the calling vector elements [Index]..[Index+Len-1]. |
Overload 1: TVec *Ramp();
Fills the calling vector with a series following linear rule.
Fills the calling vector with a series following the rule:
Values[k] := k
(Offset is zero and Step is one). If the calling vector is complex, only the real part is set.
Overload 2: TVec *Ramp(const TCplx &Offset, const TCplx &Step);
Fills the calling vector with a series.
Method follow the rule:
CValues[k] := Offset + k*Step.
Overload 3: TVec *Ramp(const double Offset, const double Step);
Fills the calling vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | const double | |
| 2 | Step | const double |
Method uses the following rule:
Values[k] := Offset + k*Step.
If the calling vector is complex, only the real part is set.
Overload 4: TVec *Ramp(const double Offset, const double Step, int Index, int Len);
Fills the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | const double | |
| 2 | Step | const double | |
| 3 | Index | int | |
| 4 | Len | int |
Method uses the following rule:
Values[k] := Offset + k*Step.
If the calling vector is complex, only the real part is set. An exception is raised if calling vector array borders are overrun.
Overload 5: TVec *Ramp(const TCplx &Offset, const TCplx &Step, int Index, int Len);
Fills the calling vector elements [Index]..[Index+Len-1].
Following the rule:
Values[k] := Offset + k*Step.
If the calling vector is complex, only the real part is set. An exception is raised if array borders of the calling vector are overrun.
Overload 6: TVec *Ramp(const TCplx &Offset, const double Step);
The Offset is complex, but the step is real.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | const TCplx & | |
| 2 | Step | const double |
Overload 7: TVec *Ramp(const TCplx &Offset, const double Step, int Index, int Len);
Fills the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | const TCplx & | |
| 2 | Step | const double | |
| 3 | Index | int | |
| 4 | Len | int |
Following the rule:
Values[k] := Offset + k*Step.
The Offset is complex, but the step is real.