|
Theoretica
Mathematical Library
|
Parallelized methods to evaluate a function over a vector element-wise. More...
#include "./vec.h"#include "../core/dataset.h"#include "../core/real_analysis.h"#include "../complex/complex_analysis.h"#include "../autodiff/dual_functions.h"#include "../autodiff/dual2_functions.h"#include "../autodiff/multidual_functions.h"Go to the source code of this file.
Namespaces | |
| namespace | theoretica |
| Main namespace of the library which contains all functions and objects. | |
| namespace | theoretica::parallel |
| Parallelized element-wise evaluation of functions. | |
Functions | |
| template<typename Function , typename Vector > | |
| Vector | theoretica::parallel::apply_function (Function f, const Vector &v) |
| Parallel element-wise evaluation of a function, using OpenMP to speed up execution over a vector. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::square (const Vector &v) |
| Parallel element-wise evaluation of the square function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::cube (const Vector &v) |
| Parallel element-wise evaluation of the cube function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::abs (const Vector &v) |
| Parallel element-wise evaluation of the abs function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::pow (const Vector &v, int n) |
| Parallel element-wise evaluation of the pow function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::powf (const Vector &v, real x) |
| Parallel element-wise evaluation of the powf function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::sqrt (const Vector &v) |
| Parallel element-wise evaluation of the sqrt function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::cbrt (const Vector &v) |
| Parallel element-wise evaluation of the cbrt function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::exp (const Vector &v) |
| Parallel element-wise evaluation of the exp function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::ln (const Vector &v) |
| Parallel element-wise evaluation of the ln function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::log2 (const Vector &v) |
| Parallel element-wise evaluation of the log2 function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::log10 (const Vector &v) |
| Parallel element-wise evaluation of the log10 function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::sin (const Vector &v) |
| Parallel element-wise evaluation of the sin function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::cos (const Vector &v) |
| Parallel element-wise evaluation of the cos function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::tan (const Vector &v) |
| Vectorized (element-wise evaluation) of the tan function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::cot (const Vector &v) |
| Vectorized (element-wise evaluation) of the cot function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::asin (const Vector &v) |
| Vectorized (element-wise evaluation) of the asin function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::acos (const Vector &v) |
| Vectorized (element-wise evaluation) of the acos function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::atan (const Vector &v) |
| Vectorized (element-wise evaluation) of the atan function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::sinh (const Vector &v) |
| Vectorized (element-wise evaluation) of the sinh function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::cosh (const Vector &v) |
| Vectorized (element-wise evaluation) of the cosh function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::tanh (const Vector &v) |
| Vectorized (element-wise evaluation) of the tanh function. | |
| template<typename Vector > | |
| Vector | theoretica::parallel::coth (const Vector &v) |
| Vectorized (element-wise evaluation) of the coth function. | |
Parallelized methods to evaluate a function over a vector element-wise.