vSMC
vSMC: Scalable Monte Carlo
Functions
Trigonometric functions

Functions

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...
 
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...
 
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...
 
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...
 
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...
 
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...
 
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...
 
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...
 

Detailed Description

Function Documentation

template<typename T >
void vsmc::math::vAcos ( std::size_t  n,
const T *  a,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \arccos(a_i)\).

Definition at line 439 of file vmath.hpp.

template<typename T >
void vsmc::math::vAsin ( std::size_t  n,
const T *  a,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \arcsin(a_i)\).

Definition at line 442 of file vmath.hpp.

template<typename T >
void vsmc::math::vAtan ( std::size_t  n,
const T *  a,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \arctan(a_i)\).

Definition at line 445 of file vmath.hpp.

template<typename T >
void vsmc::math::vAtan2 ( std::size_t  n,
const T *  a,
const T *  b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \arctan(a_i / b_i)\) with signs to determine the quadrant.

Definition at line 449 of file vmath.hpp.

template<typename T >
void vsmc::math::vCos ( std::size_t  n,
const T *  a,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \sin(a_i)\).

Definition at line 417 of file vmath.hpp.

template<typename T >
void vsmc::math::vSin ( std::size_t  n,
const T *  a,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \cos(a_i)\).

Definition at line 420 of file vmath.hpp.

template<typename T >
void vsmc::math::vSinCos ( std::size_t  n,
const T *  a,
T *  y,
T *  z 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \sin(a_i), z_i = \cos(a_i)\).

Definition at line 425 of file vmath.hpp.

template<typename T >
void vsmc::math::vTan ( std::size_t  n,
const T *  a,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = \tan(a_i)\).

Definition at line 436 of file vmath.hpp.