API | Description | Default scalar implementation | SIMD |
|
Basic operations |
\anchor cwisetable_abs
a.\link ArrayBase::abs abs\endlink(); \n
\link Eigen::abs abs\endlink(a); \n
m.\link MatrixBase::cwiseAbs cwiseAbs\endlink();
|
absolute value (\f$ |a_i| \f$) |
using std::abs; \n
abs(a[i]);
|
SSE2, AVX (ui32,f,d) |
Exponential functions |
\anchor cwisetable_exp
a.\link ArrayBase::exp exp\endlink(); \n
\link Eigen::exp exp\endlink(a);
|
\f$ e \f$ raised to the given power (\f$ e^{a_i} \f$) |
using std::exp; \n
exp(a[i]);
|
SSE2, AVX (f,d) |
\anchor cwisetable_log
a.\link ArrayBase::log log\endlink(); \n
\link Eigen::log log\endlink(a);
|
natural (base \f$ e \f$) logarithm (\f$ ln({a_i}) \f$) |
using std::log; \n
log(a[i]);
|
SSE2, AVX (f,d) |
\anchor cwisetable_log1p
a.\link ArrayBase::log1p log1p\endlink(); \n
\link Eigen::log1p log1p\endlink(a);
|
natural (base \f$ e \f$) logarithm of 1 plus \n the given number (\f$ ln({1+a_i}) \f$) |
built-in generic implementation based on \c log,\n
plus \c using \c std::log1p ; \cpp11 |
|
Power functions |
Trigonometric functions |
Hyperbolic functions |
Error and gamma functions |
\anchor cwisetable_erf
a.\link ArrayBase::erf erf\endlink(); \n
\link Eigen::erf erf\endlink(a);
|
error function |
using std::erf; \cpp11 \n
erf(a[i]);
|
|
\anchor cwisetable_erfc
a.\link ArrayBase::erfc erfc\endlink(); \n
\link Eigen::erfc erfc\endlink(a);
|
complementary error function |
using std::erfc; \cpp11 \n
erfc(a[i]);
|
|
Nearest integer floating point operations |
Floating point manipulation functions |
Classification and comparison |
Miscellaneous |
\anchor cwisetable_zeta
a.\link ArrayBase::zeta zeta\endlink(b); \n
\link Eigen::zeta zeta\endlink(a,b);
|
Hurwitz zeta function \n \f$ \zeta(a_i,b_i)=\sum_{k=0}^{\infty}(b_i+k)^{\text{-}a_i} \f$ |
built-in for float and double
|
|
|
\n
*/
}