|
Theoretica
Scientific Computing
|
Parallelized element-wise evaluation of functions. More...
Functions | |
| template<typename Function , typename Vector > | |
| Vector | map (Function f, const Vector &v) |
| Parallel element-wise evaluation of a function, using OpenMP to speed up execution over a vector. | |
| template<typename Function , typename Vector > | |
| Vector & | transform (Function f, Vector &v) |
| Transform a vector by applying a given function to each of its elements, modifying the vector itself and using OpenMP to speed up execution. | |
| template<typename Vector > | |
| Vector | square (const Vector &v) |
| Parallel element-wise evaluation of the square function. | |
| template<typename Vector > | |
| Vector | cube (const Vector &v) |
| Parallel element-wise evaluation of the cube function. | |
| template<typename Vector > | |
| Vector | abs (const Vector &v) |
| Parallel element-wise evaluation of the abs function. | |
| template<typename Vector > | |
| Vector | pow (const Vector &v, int n) |
| Parallel element-wise evaluation of the pow function. | |
| template<typename Vector > | |
| Vector | powf (const Vector &v, real x) |
| Parallel element-wise evaluation of the powf function. | |
| template<typename Vector > | |
| Vector | sqrt (const Vector &v) |
| Parallel element-wise evaluation of the sqrt function. | |
| template<typename Vector > | |
| Vector | cbrt (const Vector &v) |
| Parallel element-wise evaluation of the cbrt function. | |
| template<typename Vector > | |
| Vector | exp (const Vector &v) |
| Parallel element-wise evaluation of the exp function. | |
| template<typename Vector > | |
| Vector | ln (const Vector &v) |
| Parallel element-wise evaluation of the ln function. | |
| template<typename Vector > | |
| Vector | log2 (const Vector &v) |
| Parallel element-wise evaluation of the log2 function. | |
| template<typename Vector > | |
| Vector | log10 (const Vector &v) |
| Parallel element-wise evaluation of the log10 function. | |
| template<typename Vector > | |
| Vector | sin (const Vector &v) |
| Parallel element-wise evaluation of the sin function. | |
| template<typename Vector > | |
| Vector | cos (const Vector &v) |
| Parallel element-wise evaluation of the cos function. | |
| template<typename Vector > | |
| Vector | tan (const Vector &v) |
| Vectorized (element-wise evaluation) of the tan function. | |
| template<typename Vector > | |
| Vector | cot (const Vector &v) |
| Vectorized (element-wise evaluation) of the cot function. | |
| template<typename Vector > | |
| Vector | asin (const Vector &v) |
| Vectorized (element-wise evaluation) of the asin function. | |
| template<typename Vector > | |
| Vector | acos (const Vector &v) |
| Vectorized (element-wise evaluation) of the acos function. | |
| template<typename Vector > | |
| Vector | atan (const Vector &v) |
| Vectorized (element-wise evaluation) of the atan function. | |
| template<typename Vector > | |
| Vector | sinh (const Vector &v) |
| Vectorized (element-wise evaluation) of the sinh function. | |
| template<typename Vector > | |
| Vector | cosh (const Vector &v) |
| Vectorized (element-wise evaluation) of the cosh function. | |
| template<typename Vector > | |
| Vector | tanh (const Vector &v) |
| Vectorized (element-wise evaluation) of the tanh function. | |
| template<typename Vector > | |
| Vector | coth (const Vector &v) |
| Vectorized (element-wise evaluation) of the coth function. | |
Parallelized element-wise evaluation of functions.
Parallel element-wise evaluation of the abs function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the acos function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the asin function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the atan function.
| v | The vector of inputs |
Parallel element-wise evaluation of the cbrt function.
| v | The vector of inputs |
Parallel element-wise evaluation of the cos function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the cosh function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the cot function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the coth function.
| v | The vector of inputs |
Parallel element-wise evaluation of the cube function.
| v | The vector of inputs |
Parallel element-wise evaluation of the exp function.
| v | The vector of inputs |
Parallel element-wise evaluation of the ln function.
| v | The vector of inputs |
Parallel element-wise evaluation of the log10 function.
| v | The vector of inputs |
Parallel element-wise evaluation of the log2 function.
| v | The vector of inputs |
Parallel element-wise evaluation of a function, using OpenMP to speed up execution over a vector.
| f | The function to evaluate |
| v | The vector of inputs |
Parallel element-wise evaluation of the pow function.
| v | The vector of inputs |
| n | The integer exponent |
Parallel element-wise evaluation of the powf function.
| v | The vector of inputs |
| x | The real exponent |
Parallel element-wise evaluation of the sin function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the sinh function.
| v | The vector of inputs |
Parallel element-wise evaluation of the sqrt function.
| v | The vector of inputs |
Parallel element-wise evaluation of the square function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the tan function.
| v | The vector of inputs |
Vectorized (element-wise evaluation) of the tanh function.
| v | The vector of inputs |
Transform a vector by applying a given function to each of its elements, modifying the vector itself and using OpenMP to speed up execution.
| f | The function to evaluate |
| v | The vector of inputs |