MCKL
Monte Carlo Kernel Library
Functions
Arithmetic functions

Functions

template<typename T >
void mckl::abs (std::size_t n, const T *a, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = |a_i|\). More...
 
template<typename T >
void mckl::abs (std::size_t n, const std::complex< T > *a, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = |a_i|\). More...
 
template<typename T >
void mckl::add (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...
 
template<typename T >
mckl::add (T a, T b)
 
template<typename T >
void mckl::add (std::size_t n, const T *a, T b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a_i + b\). More...
 
template<typename T >
void mckl::add (std::size_t n, T a, const T *b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a + b_i\). More...
 
template<typename T >
void mckl::arg (std::size_t n, const std::complex< T > *a, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = \arg(a_i)\). More...
 
template<typename T >
void mckl::conj (std::size_t n, const T *a, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = \bar{a}_i\). More...
 
template<typename T >
void mckl::fma (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i + c_i\). More...
 
template<typename T >
void mckl::fma (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fma (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fma (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::fma (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fma (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fma (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::fmadd (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i + c_i\). More...
 
template<typename T >
void mckl::fmadd (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fmadd (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fmadd (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::fmadd (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fmadd (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fmadd (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::fmsub (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i - c_i\). More...
 
template<typename T >
void mckl::fmsub (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fmsub (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fmsub (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::fmsub (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fmsub (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fmsub (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fnmadd (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i + c_i\). More...
 
template<typename T >
void mckl::fnmsub (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fnmsub (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::fnmsub (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i - c_i\). More...
 
template<typename T >
void mckl::fnmsub (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fnmsub (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::fnmsub (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::fnmsub (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::linear_frac (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...
 
template<typename T >
void mckl::mul (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...
 
template<typename T >
mckl::mul (T a, T b)
 
template<typename T >
void mckl::mul (std::size_t n, const T *a, T b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a_i b\). More...
 
template<typename T >
void mckl::mul (std::size_t n, T a, const T *b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a b_i\). More...
 
template<typename T >
void mckl::muladd (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::muladd (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::muladd (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i + c_i\). More...
 
template<typename T >
void mckl::muladd (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::muladd (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::muladd (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::muladd (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::mulbyconj (std::size_t n, const T *a, const T *b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a_i \bar{b}_i\). More...
 
template<typename T >
void mckl::mulbyconj (std::size_t n, const T *a, T b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a_i \bar{b}\). More...
 
template<typename T >
void mckl::mulbyconj (std::size_t n, T a, const T *b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a \bar{b}_i\). More...
 
template<typename T >
void mckl::mulsub (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::mulsub (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::mulsub (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::mulsub (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::mulsub (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i - c_i\). More...
 
template<typename T >
void mckl::mulsub (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::mulsub (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::nmuladd (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::nmuladd (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::nmuladd (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i + c_i\). More...
 
template<typename T >
void mckl::nmuladd (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::nmuladd (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::nmuladd (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::nmuladd (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::nmulsub (std::size_t n, const T *a, const T *b, const T *c, T *y)
 For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i - c_i\). More...
 
template<typename T >
void mckl::nmulsub (std::size_t n, const T *a, T b, T c, T *y)
 
template<typename T >
void mckl::nmulsub (std::size_t n, T a, T b, const T *c, T *y)
 
template<typename T >
void mckl::nmulsub (std::size_t n, const T *a, T b, const T *c, T *y)
 
template<typename T >
void mckl::nmulsub (std::size_t n, T a, const T *b, const T *c, T *y)
 
template<typename T >
void mckl::nmulsub (std::size_t n, T a, const T *b, T c, T *y)
 
template<typename T >
void mckl::nmulsub (std::size_t n, const T *a, const T *b, T c, T *y)
 
template<typename T >
void mckl::sqr (std::size_t n, const T *a, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a_i^2\). More...
 
template<typename T >
mckl::sub (T a, T b)
 
template<typename T >
void mckl::sub (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...
 
template<typename T >
void mckl::sub (std::size_t n, const T *a, T b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a_i - b\). More...
 
template<typename T >
void mckl::sub (std::size_t n, T a, const T *b, T *y)
 For \(i=1,\ldots,n\), compute \(y_i = a - b_i\). More...
 

Detailed Description

Function Documentation

◆ abs() [1/2]

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

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

Definition at line 823 of file vmf.hpp.

◆ abs() [2/2]

template<typename T >
void mckl::abs ( std::size_t  n,
const std::complex< T > *  a,
T *  y 
)
inline

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

Definition at line 827 of file vmf.hpp.

◆ add() [1/4]

template<typename T >
void mckl::add ( std::size_t  n,
const T *  a,
const T *  b,
T *  y 
)
inline

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

Definition at line 775 of file vmf.hpp.

◆ add() [2/4]

template<typename T >
T mckl::add ( a,
b 
)
inline

Definition at line 775 of file vmf.hpp.

◆ add() [3/4]

template<typename T >
void mckl::add ( std::size_t  n,
const T *  a,
b,
T *  y 
)
inline

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

Definition at line 778 of file vmf.hpp.

◆ add() [4/4]

template<typename T >
void mckl::add ( std::size_t  n,
a,
const T *  b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = a + b_i\).

Definition at line 781 of file vmf.hpp.

◆ arg()

template<typename T >
void mckl::arg ( std::size_t  n,
const std::complex< T > *  a,
T *  y 
)
inline

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

Definition at line 836 of file vmf.hpp.

◆ conj()

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

For \(i=1,\ldots,n\), compute \(y_i = \bar{a}_i\).

Definition at line 820 of file vmf.hpp.

◆ fma() [1/7]

template<typename T >
void mckl::fma ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i + c_i\).

Definition at line 869 of file vmf.hpp.

◆ fma() [2/7]

template<typename T >
void mckl::fma ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 869 of file vmf.hpp.

◆ fma() [3/7]

template<typename T >
void mckl::fma ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 869 of file vmf.hpp.

◆ fma() [4/7]

template<typename T >
void mckl::fma ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 869 of file vmf.hpp.

◆ fma() [5/7]

template<typename T >
void mckl::fma ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 869 of file vmf.hpp.

◆ fma() [6/7]

template<typename T >
void mckl::fma ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 869 of file vmf.hpp.

◆ fma() [7/7]

template<typename T >
void mckl::fma ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 869 of file vmf.hpp.

◆ fmadd() [1/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i + c_i\).

Definition at line 884 of file vmf.hpp.

◆ fmadd() [2/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 884 of file vmf.hpp.

◆ fmadd() [3/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 884 of file vmf.hpp.

◆ fmadd() [4/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 884 of file vmf.hpp.

◆ fmadd() [5/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 884 of file vmf.hpp.

◆ fmadd() [6/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 884 of file vmf.hpp.

◆ fmadd() [7/7]

template<typename T >
void mckl::fmadd ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 884 of file vmf.hpp.

◆ fmsub() [1/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i - c_i\).

Definition at line 887 of file vmf.hpp.

◆ fmsub() [2/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 887 of file vmf.hpp.

◆ fmsub() [3/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 887 of file vmf.hpp.

◆ fmsub() [4/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 887 of file vmf.hpp.

◆ fmsub() [5/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 887 of file vmf.hpp.

◆ fmsub() [6/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 887 of file vmf.hpp.

◆ fmsub() [7/7]

template<typename T >
void mckl::fmsub ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 887 of file vmf.hpp.

◆ fnmadd() [1/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 890 of file vmf.hpp.

◆ fnmadd() [2/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 890 of file vmf.hpp.

◆ fnmadd() [3/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 890 of file vmf.hpp.

◆ fnmadd() [4/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 890 of file vmf.hpp.

◆ fnmadd() [5/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 890 of file vmf.hpp.

◆ fnmadd() [6/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 890 of file vmf.hpp.

◆ fnmadd() [7/7]

template<typename T >
void mckl::fnmadd ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i + c_i\).

Definition at line 890 of file vmf.hpp.

◆ fnmsub() [1/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 893 of file vmf.hpp.

◆ fnmsub() [2/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 893 of file vmf.hpp.

◆ fnmsub() [3/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i - c_i\).

Definition at line 893 of file vmf.hpp.

◆ fnmsub() [4/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 893 of file vmf.hpp.

◆ fnmsub() [5/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 893 of file vmf.hpp.

◆ fnmsub() [6/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 893 of file vmf.hpp.

◆ fnmsub() [7/7]

template<typename T >
void mckl::fnmsub ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 893 of file vmf.hpp.

◆ linear_frac()

template<typename T >
void mckl::linear_frac ( std::size_t  n,
const T *  a,
const T *  b,
beta_a,
beta_b,
mu_a,
mu_b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = (\beta_a a_i + \mu_a) / (\beta_b b_i + \mu_b)\).

Definition at line 846 of file vmf.hpp.

◆ mul() [1/4]

template<typename T >
void mckl::mul ( std::size_t  n,
const T *  a,
const T *  b,
T *  y 
)
inline

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

Definition at line 802 of file vmf.hpp.

◆ mul() [2/4]

template<typename T >
T mckl::mul ( a,
b 
)
inline

Definition at line 802 of file vmf.hpp.

◆ mul() [3/4]

template<typename T >
void mckl::mul ( std::size_t  n,
const T *  a,
b,
T *  y 
)
inline

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

Definition at line 805 of file vmf.hpp.

◆ mul() [4/4]

template<typename T >
void mckl::mul ( std::size_t  n,
a,
const T *  b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = a b_i\).

Definition at line 808 of file vmf.hpp.

◆ muladd() [1/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 872 of file vmf.hpp.

◆ muladd() [2/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 872 of file vmf.hpp.

◆ muladd() [3/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i + c_i\).

Definition at line 872 of file vmf.hpp.

◆ muladd() [4/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 872 of file vmf.hpp.

◆ muladd() [5/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 872 of file vmf.hpp.

◆ muladd() [6/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 872 of file vmf.hpp.

◆ muladd() [7/7]

template<typename T >
void mckl::muladd ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 872 of file vmf.hpp.

◆ mulbyconj() [1/3]

template<typename T >
void mckl::mulbyconj ( std::size_t  n,
const T *  a,
const T *  b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = a_i \bar{b}_i\).

Definition at line 811 of file vmf.hpp.

◆ mulbyconj() [2/3]

template<typename T >
void mckl::mulbyconj ( std::size_t  n,
const T *  a,
b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = a_i \bar{b}\).

Definition at line 814 of file vmf.hpp.

◆ mulbyconj() [3/3]

template<typename T >
void mckl::mulbyconj ( std::size_t  n,
a,
const T *  b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = a \bar{b}_i\).

Definition at line 817 of file vmf.hpp.

◆ mulsub() [1/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 875 of file vmf.hpp.

◆ mulsub() [2/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 875 of file vmf.hpp.

◆ mulsub() [3/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 875 of file vmf.hpp.

◆ mulsub() [4/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 875 of file vmf.hpp.

◆ mulsub() [5/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = a_i b_i - c_i\).

Definition at line 875 of file vmf.hpp.

◆ mulsub() [6/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 875 of file vmf.hpp.

◆ mulsub() [7/7]

template<typename T >
void mckl::mulsub ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 875 of file vmf.hpp.

◆ nmuladd() [1/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 878 of file vmf.hpp.

◆ nmuladd() [2/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 878 of file vmf.hpp.

◆ nmuladd() [3/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i + c_i\).

Definition at line 878 of file vmf.hpp.

◆ nmuladd() [4/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 878 of file vmf.hpp.

◆ nmuladd() [5/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 878 of file vmf.hpp.

◆ nmuladd() [6/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 878 of file vmf.hpp.

◆ nmuladd() [7/7]

template<typename T >
void mckl::nmuladd ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 878 of file vmf.hpp.

◆ nmulsub() [1/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
const T *  a,
const T *  b,
const T *  c,
T *  y 
)
inline

For \(i = 1,\ldots,n\), compute \(y_i = -a_i b_i - c_i\).

Definition at line 881 of file vmf.hpp.

◆ nmulsub() [2/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
const T *  a,
b,
c,
T *  y 
)
inline

Definition at line 881 of file vmf.hpp.

◆ nmulsub() [3/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 881 of file vmf.hpp.

◆ nmulsub() [4/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
const T *  a,
b,
const T *  c,
T *  y 
)
inline

Definition at line 881 of file vmf.hpp.

◆ nmulsub() [5/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
a,
const T *  b,
const T *  c,
T *  y 
)
inline

Definition at line 881 of file vmf.hpp.

◆ nmulsub() [6/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 881 of file vmf.hpp.

◆ nmulsub() [7/7]

template<typename T >
void mckl::nmulsub ( std::size_t  n,
const T *  a,
const T *  b,
c,
T *  y 
)
inline

Definition at line 881 of file vmf.hpp.

◆ sqr()

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

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

Definition at line 794 of file vmf.hpp.

◆ sub() [1/4]

template<typename T >
T mckl::sub ( a,
b 
)
inline

Definition at line 784 of file vmf.hpp.

◆ sub() [2/4]

template<typename T >
void mckl::sub ( std::size_t  n,
const T *  a,
const T *  b,
T *  y 
)
inline

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

Definition at line 784 of file vmf.hpp.

◆ sub() [3/4]

template<typename T >
void mckl::sub ( std::size_t  n,
const T *  a,
b,
T *  y 
)
inline

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

Definition at line 787 of file vmf.hpp.

◆ sub() [4/4]

template<typename T >
void mckl::sub ( std::size_t  n,
a,
const T *  b,
T *  y 
)
inline

For \(i=1,\ldots,n\), compute \(y_i = a - b_i\).

Definition at line 790 of file vmf.hpp.