vSMC
vSMC: Scalable Monte Carlo
Functions
BLAS level 1 routines and functions

Functions

template<typename T >
vsmc::asum (std::size_t n, const T *x, std::size_t incx)
 Computes the sum of magnitudes of the vector elements. More...
 
template<typename T >
void vsmc::axpy (std::size_t n, T a, const T *x, std::size_t incx, T *y, std::size_t incy)
 Computes a vector-scalar product and adds the result to a vector. More...
 
template<typename T >
void vsmc::copy (std::size_t n, const T *x, std::size_t incx, T *y, std::size_t incy)
 Copies vector to another vector. More...
 
template<typename T >
vsmc::dot (std::size_t n, const T *x, std::size_t incx, const T *y, std::size_t incy)
 Computes a vector-vector dot product. More...
 
template<typename T >
vsmc::nrm2 (std::size_t n, const T *x, std::size_t incx)
 Computes the Euclidean norm of a vector. More...
 
template<typename T >
void vsmc::scal (std::size_t n, T a, T *x, std::size_t incx)
 Computes the product of a vector by a scalar. More...
 

Detailed Description

Function Documentation

template<typename T >
T vsmc::asum ( std::size_t  n,
const T *  x,
std::size_t  incx 
)
inline

Computes the sum of magnitudes of the vector elements.

Definition at line 59 of file cblas.hpp.

template<typename T >
void vsmc::axpy ( std::size_t  n,
a,
const T *  x,
std::size_t  incx,
T *  y,
std::size_t  incy 
)
inline

Computes a vector-scalar product and adds the result to a vector.

Definition at line 71 of file cblas.hpp.

template<typename T >
void vsmc::copy ( std::size_t  n,
const T *  x,
std::size_t  incx,
T *  y,
std::size_t  incy 
)
inline

Copies vector to another vector.

Definition at line 82 of file cblas.hpp.

template<typename T >
T vsmc::dot ( std::size_t  n,
const T *  x,
std::size_t  incx,
const T *  y,
std::size_t  incy 
)
inline

Computes a vector-vector dot product.

Definition at line 93 of file cblas.hpp.

template<typename T >
T vsmc::nrm2 ( std::size_t  n,
const T *  x,
std::size_t  incx 
)
inline

Computes the Euclidean norm of a vector.

Definition at line 107 of file cblas.hpp.

template<typename T >
void vsmc::scal ( std::size_t  n,
a,
T *  x,
std::size_t  incx 
)
inline

Computes the product of a vector by a scalar.

Definition at line 114 of file cblas.hpp.