vSMC  v3.0.0
Scalable Monte Carlo
Functions
Trigonometric functions

Functions

template<typename T >
void vsmc::acos (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::asin (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::atan (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::atan2 (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::cos (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::sin (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::sincos (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::tan (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::acos ( std::size_t  n,
const T *  a,
T *  y 
)
inline

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

Definition at line 617 of file vmath.hpp.

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

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

Definition at line 620 of file vmath.hpp.

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

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

Definition at line 623 of file vmath.hpp.

template<typename T >
void vsmc::atan2 ( 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 627 of file vmath.hpp.

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

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

Definition at line 592 of file vmath.hpp.

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

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

Definition at line 595 of file vmath.hpp.

template<typename T >
void vsmc::sincos ( 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 600 of file vmath.hpp.

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

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

Definition at line 614 of file vmath.hpp.