Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLVector *Ramp() const; | Fills the calling vector with a series following linear rule. |
| 2 | TOpenCLVector *Ramp(TCplx Offset, TCplx Step) const; | Fills the calling vector with a series. |
| 3 | TOpenCLVector *Ramp(double Offset, double Step) const; | Fills the calling vector. |
| 4 | TOpenCLVector *Ramp(double Offset, double Step, int Index, int Len) const; | Fills the calling vector elements [Index]..[Index+Len-1]. |
| 5 | TOpenCLVector *Ramp(TCplx Offset, TCplx Step, int Index, int Len) const; | Fills the calling vector elements [Index]..[Index+Len-1]. |
| 6 | TOpenCLVector *Ramp(TCplx Offset, double Step) const; | The Offset is complex, but the step is real. |
| 7 | TOpenCLVector *Ramp(TCplx Offset, double Step, int Index, int Len) const; | Fills the calling vector elements [Index]..[Index+Len-1]. |
Overload 1: TOpenCLVector *Ramp() const;
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: TOpenCLVector *Ramp(TCplx Offset, TCplx Step) const;
Fills the calling vector with a series.
Method follow the rule:
Values[k] := Offset + k*Step.
Overload 3: TOpenCLVector *Ramp(double Offset, double Step) const;
Fills the calling vector.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | double | |
| 2 | Step | 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: TOpenCLVector *Ramp(double Offset, double Step, int Index, int Len) const;
Fills the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | double | |
| 2 | Step | 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: TOpenCLVector *Ramp(TCplx Offset, TCplx Step, int Index, int Len) const;
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: TOpenCLVector *Ramp(TCplx Offset, double Step) const;
The Offset is complex, but the step is real.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | TCplx | |
| 2 | Step | double |
Overload 7: TOpenCLVector *Ramp(TCplx Offset, double Step, int Index, int Len) const;
Fills the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | TCplx | |
| 2 | Step | double | |
| 3 | Index | int | |
| 4 | Len | int |
Following the rule:
Values[k] := Offset + k*Step.
The Offset is complex, but the step is real.