Open CL single value class with overloaded operators.
Copying data from and to (from CPU separate) GPU memory can cause long delays even if that data is short. Sometimes it makes sense to keep even single value variables (scalars) in the GPU memory. Use this object to avoid copying individual values from GPU to CPU memory and reuse the scalars directly.
| Name | Description |
|---|
| Abs | Absolute values of X. |
| Add (3) | Add values in Src1 and Src2. |
| ArcCos | The inverse cosine. |
| ArcCosh | Calculate the inverse hyperbolic cosine of X. |
| ArcCot | Inverse cotangens. |
| ArcCoth | Calculate the inverser hyperbolic cotangens of X. |
| ArcCsc | Calculate the inverse cosecant of X. |
| ArcCsch | Calculate the inverse hyperbolic cosecant of X. |
| ArcSec | Calculate the inverse secant of X and stores the results in the calling object. |
| ArcSech | Calculate the inverse hyperbolic secant of X. |
| ArcSin | The inverse sine. |
| ArcSinh | Calculate the inverse hyperbolic sine of X. |
| ArcTan | Inverse tangens. |
| ArcTan2 | Inverse tangens of Y/X. |
| ArcTanh | Calculate the inverse hyperbolic tangens of X. |
| CartToPolar | Converts value from cartesian to polar coordinate form. |
| Cbrt | The cube root. |
| Ceil | Rounds towards positive infinity. |
| Conj | Conjugate. |
| Copy (4) | Copy object value from GPU to CPU memory. |
| Copyc | Copy object value from GPU to CPU memory. |
| Cos | Sine function. |
| Cosh | Hyperbolic cosine. |
| Cot | Cotangens. |
| Coth | Hyperbolic cotangens. |
| CplxToReal | Split complex value in real and imaginary part. |
| Csc | Cosecant. |
| Csch | Calculate the hyperbolic cosecant of X. |
| Divide | Divide Num with Den. |
| DivideBy (2) | Divide complex Value with Vec and store the result in the calling object. |
| Erf | Error function of value. |
| Erfc | Complementary error functon of value. |
| Exp | Exponent (e^). |
| Exp10 | Exponent base 10 (10^X). |
| Exp2 | Exponent base 2 (2^X). |
| Expj | A complex exponential e^(j*Omega)). |
| FixAngle | Sets angle in [-2PI,2PI]. |
| Flip | Flips the real and imaginary part of complex number. |
| FlipConj | Flips the real and imaginary part and conjugates the complex number. |
| Floor | Rounds Src object value towards negative infinity and stores the result in the calling object. |
| Frac | Fractional part of values. |
| ImagPart | Gets the imaginary part of a complex object. |
| IntPower | Power (integer exponent). |
| Inv | Inverse (1/x). |
| InvCbrt | The inverse of cube root 1/(v)^1/3. |
| InvSqrt | The inverse of square root 1/(v)^1/2. |
| Ln | Natural logarithm. |
| Log10 | Log base 10. |
| Log2 | Log base 2. |
| LogN | Log base N. |
| Mag | Magnitude. |
| Mul (3) | Multiply Src with complex Value. |
| MulI | Multiply X with 1i and store the result in the calling object. |
| PolarToCart | Converts the polar magnitude/phase pair to cartesian pair. |
| Power | Raises base object elements to any power. |
| RealPart | Gets real part of complex object value. |
| RealToCplx | Constructs a complex object from two real objects. |
| Rem | The Reminder after division X/Y. |
| Round | Rounds Src value. |
| Sec | Secant. |
| Sech | Calculate the hyperbolic secant of X. |
| Sgn | Computes signum function from Src value and stores the result in the calling object. |
| SgnMul | Signum. |
| Sin | Sine function. |
| SinCos | Sine and cosine. |
| Sinh | Hyperbolic sine. |
| SinhCosh | Hyperbolic sine and cosine. |
| Size (2) | Obtains the precision (single or double) from Src and sets Complex property to aComplex. |
| Sqr | Square. |
| Sqrt | Square root. |
| Sub (3) | Subtract complex Value from Src. |
| SubFrom (2) | subtract complex Vec elements from Value. |
| Tan | Tangens. |
| Tanh | Hyperbolic tangens. |
| ThreshBottom | Threshold bottom operation. |
| ThresholdGT (2) | Perform "greater than" threshold operation vor complex number stored in Vec object. |
| ThresholdGT_LT | Threshold greater than and less than operation. |
| ThresholdLT (2) | Perform "less than" threshold operation for Vec object complex number. |
| ThreshTop | Threshold top operation. |
| Trunc | Truncate Src object value. |
| TruncAndFrac | Rounds a real number towards zero and returns the fractional part. |