Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const double SubOffset, const double DivFactor) const; | Normalize object. |
| 2 | TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const double SubOffset, const double DivFactor, int VecIndex, int Index, int Len) const; | Normalize Vec object values [VecIndex]..[VecIndex+Len-1] by subtracting a real constant SubOffset from Vec elements and dividing the result by complex constant DivFactor. |
| 3 | TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const TCplx &SubOffset, double DivFactor) const; | Normalize Vec object by subtracting a complex constant SubOffset from Vec elements and dividing the result by real constant DivFactor. |
| 4 | TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const TCplx &SubOffset, double DivFactor, int VecIndex, int Index, int Len) const; | Normalize Vec object complex values [VecIndex]..[VecIndex+Len-1] by subtracting a complex constant SubOffset from Vec elements and dividing the result by real constant DivFactor. |
Overload 1: TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const double SubOffset, const double DivFactor) const;
Normalize object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | SubOffset | const double | |
| 3 | DivFactor | const double |
Normalizes Vec object by subtracting a constant Offset from Vec elements and dividing the result by constant Factor:
The results are stored in calling object. Use this method if you want to do a multiply and add (scale and offset) operations in a single method call.
Overload 2: TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const double SubOffset, const double DivFactor, int VecIndex, int Index, int Len) const;
Normalize Vec object values [VecIndex]..[VecIndex+Len-1] by subtracting a real constant SubOffset from Vec elements and dividing the result by complex constant DivFactor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | SubOffset | const double | |
| 3 | DivFactor | const double | |
| 4 | VecIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Store the results in calling vector values [Index]..[Index+Len-1]. An exception is raised if Vec or calling object is complex or array borders are overrun/underrun.
Overload 3: TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const TCplx &SubOffset, double DivFactor) const;
Normalize Vec object by subtracting a complex constant SubOffset from Vec elements and dividing the result by real constant DivFactor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | SubOffset | const TCplx & | |
| 3 | DivFactor | double |
Size and clVector::Complex property of calling object are adjusted automatically.
Overload 4: TOpenCLMtxVec *Normalize(TOpenCLMtxVec *Vec, const TCplx &SubOffset, double DivFactor, int VecIndex, int Index, int Len) const;
Normalize Vec object complex values [VecIndex]..[VecIndex+Len-1] by subtracting a complex constant SubOffset from Vec elements and dividing the result by real constant DivFactor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | SubOffset | const TCplx & | |
| 3 | DivFactor | double | |
| 4 | VecIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Store the results in calling vector complex values [Index]..[Index+Len-1]. An exception is calling object is not complex or array borders are overrun/underrun.