|
template<typename T > |
void | vsmc::math::vAbs (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = |a_i|\). More...
|
|
void | vsmc::math::vAbs (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vAbs (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vAcos (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \arccos(a_i)\). More...
|
|
void | vsmc::math::vAcos (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vAcos (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vAcosh (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{arc}\cosh(a_i)\). More...
|
|
void | vsmc::math::vAcosh (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vAcosh (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vAdd (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i + b_i\). More...
|
|
void | vsmc::math::vAdd (std::size_t n, const float *a, const float *b, float *y) |
|
void | vsmc::math::vAdd (std::size_t n, const double *a, const double *b, double *y) |
|
template<typename T > |
void | vsmc::math::vAsin (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \arcsin(a_i)\). More...
|
|
void | vsmc::math::vAsin (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vAsin (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vAsinh (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{arc}\sinh(a_i)\). More...
|
|
void | vsmc::math::vAsinh (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vAsinh (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vAtan (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \arctan(a_i)\). More...
|
|
void | vsmc::math::vAtan (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vAtan (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vAtan2 (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \arctan(a_i / b_i)\) with signs to determine the quadrant. More...
|
|
void | vsmc::math::vAtan2 (std::size_t n, const float *a, const float *b, float *y) |
|
void | vsmc::math::vAtan2 (std::size_t n, const double *a, const double *b, double *y) |
|
template<typename T > |
void | vsmc::math::vAtanh (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{arc}\tanh(a_i)\). More...
|
|
void | vsmc::math::vAtanh (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vAtanh (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vCbrt (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \sqrt[3]{a_i}\). More...
|
|
void | vsmc::math::vCbrt (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vCbrt (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vCdfNorm (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = 1 - \mathrm{Erfc}(a_i / \sqrt{2}) / 2\), the standard Normal CDF. More...
|
|
void | vsmc::math::vCdfNorm (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vCdfNorm (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vCdfNormInv (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \sqrt{2}\mathrm{Erf}^{-1}(2a_i - 1)\), inverse of the standard Nomral CDF. More...
|
|
void | vsmc::math::vCdfNormInv (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vCdfNormInv (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vCos (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \sin(a_i)\). More...
|
|
void | vsmc::math::vCos (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vCos (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vCosh (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \cosh(a_i)\). More...
|
|
void | vsmc::math::vCosh (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vCosh (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vDiv (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i / b_i\). More...
|
|
void | vsmc::math::vDiv (std::size_t n, const float *a, const float *b, float *y) |
|
void | vsmc::math::vDiv (std::size_t n, const double *a, const double *b, double *y) |
|
template<typename T > |
void | vsmc::math::vErf (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{Erf}(a_i)\). More...
|
|
void | vsmc::math::vErf (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vErf (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vErfc (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{Erfc}(a_i) = \mathrm{Erf}(1 - a_i)\). More...
|
|
void | vsmc::math::vErfc (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vErfc (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vErfcInv (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{Erf}^{-1}(1 - a_i)\). More...
|
|
void | vsmc::math::vErfcInv (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vErfcInv (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vErfInv (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \mathrm{Erf}^{-1}(a_i)\). More...
|
|
void | vsmc::math::vErfInv (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vErfInv (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vExp (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = e^{a_i}\). More...
|
|
void | vsmc::math::vExp (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vExp (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vExpm1 (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = e^{a_i} - 1\). More...
|
|
void | vsmc::math::vExpm1 (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vExpm1 (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vHypot (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \sqrt{a_i^2 + b_i^2}\). More...
|
|
void | vsmc::math::vHypot (std::size_t n, const float *a, const float *b, float *y) |
|
void | vsmc::math::vHypot (std::size_t n, const double *a, const double *b, double *y) |
|
template<typename T > |
void | vsmc::math::vInv (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i^{-1}\). More...
|
|
void | vsmc::math::vInv (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vInv (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vInvCbrt (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = 1 / \sqrt[3]{a_i}\). More...
|
|
void | vsmc::math::vInvCbrt (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vInvCbrt (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vInvSqrt (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = 1 / \sqrt{a_i}\). More...
|
|
void | vsmc::math::vInvSqrt (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vInvSqrt (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vLGamma (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \ln\Gamma(a_i)\), logarithm of the Gamma function. More...
|
|
void | vsmc::math::vLGamma (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vLGamma (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vLinearFrac (std::size_t n, const T *a, const T *b, T beta_a, T beta_b, T mu_a, T mu_b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = (\beta_a a_i + \mu_a) / (\beta_b b_i + \mu_b)\). More...
|
|
void | vsmc::math::vLinearFrac (std::size_t n, const float *a, const float *b, float beta_a, float beta_b, float mu_a, float mu_b, float *y) |
|
void | vsmc::math::vLinearFrac (std::size_t n, const double *a, const double *b, double beta_a, double beta_b, double mu_a, double mu_b, double *y) |
|
template<typename T > |
void | vsmc::math::vLn (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \ln(a_i)\). More...
|
|
void | vsmc::math::vLn (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vLn (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vLog10 (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \log_{10}(a_i)\). More...
|
|
void | vsmc::math::vLog10 (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vLog10 (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vLog1p (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \log(a_i + 1)\). More...
|
|
void | vsmc::math::vLog1p (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vLog1p (std::size_t n, const double *a, double *y) |
|
template<typename T > |
T | vsmc::math::internal::vmath_cdfnorm (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_cdfnorminv (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_erfcinv (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_erfinv (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_inv (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_invcbrt (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_invsqrt (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_pow2o3 (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_pow3o2 (T a) |
|
template<typename T > |
T | vsmc::math::internal::vmath_sqr (T a) |
|
template<typename T > |
void | vsmc::math::vMul (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i b_i\). More...
|
|
void | vsmc::math::vMul (std::size_t n, const double *a, const double *b, double *y) |
|
void | vsmc::math::vMul (std::size_t n, const float *a, const float *b, float *y) |
|
template<typename T > |
void | vsmc::math::vPow (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i^{b_i}\). More...
|
|
void | vsmc::math::vPow (std::size_t n, const float *a, const float *b, float *y) |
|
void | vsmc::math::vPow (std::size_t n, const double *a, const double *b, double *y) |
|
template<typename T > |
void | vsmc::math::vPow2o3 (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i^{2/3}\). More...
|
|
void | vsmc::math::vPow2o3 (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vPow2o3 (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vPow3o2 (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i^{3/2}\). More...
|
|
void | vsmc::math::vPow3o2 (std::size_t n, const float *a, float *y) |
|
void | vsmc::math::vPow3o2 (std::size_t n, const double *a, double *y) |
|
template<typename T > |
void | vsmc::math::vPowx (std::size_t n, const T *a, T b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i^b\). More...
|
|
void | vsmc::math::vPowx (std::size_t n, const float *a, float b, float *y) |
|
void | vsmc::math::vPowx (std::size_t n, const double *a, double b, double *y) |
|
template<typename T > |
void | vsmc::math::vSin (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \cos(a_i)\). More...
|
|
void | vsmc::math::vSin (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vSin (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vSinCos (std::size_t n, const T *a, T *y, T *z) |
| For \(i=1,\ldots,n\), compute \(y_i = \sin(a_i), z_i = \cos(a_i)\). More...
|
|
void | vsmc::math::vSinCos (std::size_t n, const float *a, float *y, float *z) |
|
void | vsmc::math::vSinCos (std::size_t n, const double *a, double *y, double *z) |
|
template<typename T > |
void | vsmc::math::vSinh (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \sinh(a_i)\). More...
|
|
void | vsmc::math::vSinh (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vSinh (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vSqr (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i^2\). More...
|
|
void | vsmc::math::vSqr (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vSqr (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vSqrt (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \sqrt{a_i}\). More...
|
|
void | vsmc::math::vSqrt (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vSqrt (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vSub (std::size_t n, const T *a, const T *b, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = a_i - b_i\). More...
|
|
void | vsmc::math::vSub (std::size_t n, const double *a, const double *b, double *y) |
|
void | vsmc::math::vSub (std::size_t n, const float *a, const float *b, float *y) |
|
template<typename T > |
void | vsmc::math::vTan (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \tan(a_i)\). More...
|
|
void | vsmc::math::vTan (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vTan (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vTanh (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \tanh(a_i)\). More...
|
|
void | vsmc::math::vTanh (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vTanh (std::size_t n, const float *a, float *y) |
|
template<typename T > |
void | vsmc::math::vTGamma (std::size_t n, const T *a, T *y) |
| For \(i=1,\ldots,n\), compute \(y_i = \Gamma(a_i)\), the Gamma function. More...
|
|
void | vsmc::math::vTGamma (std::size_t n, const double *a, double *y) |
|
void | vsmc::math::vTGamma (std::size_t n, const float *a, float *y) |
|