Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
blas.hpp File Reference
Include dependency graph for blas.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::numeric
 
 boost::numeric::ublas
 main namespace of uBLAS.
 
 boost::numeric::ublas::blas_1
 Interface and implementation of BLAS level 1 This includes functions which perform vector-vector operations.
 
 boost::numeric::ublas::blas_2
 Interface and implementation of BLAS level 2 This includes functions which perform matrix-vector operations.
 
 boost::numeric::ublas::blas_3
 Interface and implementation of BLAS level 3 This includes functions which perform matrix-matrix operations.
 

Functions

template<class V >
type_traits< typename
V::value_type >::real_type 
boost::numeric::ublas::blas_1::asum (const V &v)
 1-Norm: $\sum_i |x_i|$ (also called $\mathcal{L}_1$ or Manhattan norm) More...
 
template<class V >
type_traits< typename
V::value_type >::real_type 
boost::numeric::ublas::blas_1::nrm2 (const V &v)
 2-Norm: $\sum_i |x_i|^2$ (also called $\mathcal{L}_2$ or Euclidean norm) More...
 
template<class V >
type_traits< typename
V::value_type >::real_type 
boost::numeric::ublas::blas_1::amax (const V &v)
 Infinite-norm: $\max_i |x_i|$ (also called $\mathcal{L}_\infty$ norm) More...
 
template<class V1 , class V2 >
promote_traits< typename
V1::value_type, typename
V2::value_type >::promote_type 
boost::numeric::ublas::blas_1::dot (const V1 &v1, const V2 &v2)
 Inner product of vectors $v_1$ and $v_2$. More...
 
template<class V1 , class V2 >
V1 & boost::numeric::ublas::blas_1::copy (V1 &v1, const V2 &v2)
 Copy vector $v_2$ to $v_1$. More...
 
template<class V1 , class V2 >
void boost::numeric::ublas::blas_1::swap (V1 &v1, V2 &v2)
 Swap vectors $v_1$ and $v_2$. More...
 
template<class V , class T >
V & boost::numeric::ublas::blas_1::scal (V &v, const T &t)
 scale vector $v$ with scalar $t$ More...
 
template<class V1 , class T , class V2 >
V1 & boost::numeric::ublas::blas_1::axpy (V1 &v1, const T &t, const V2 &v2)
 Compute $v_1= v_1 + t.v_2$. More...
 
template<class T1 , class V1 , class T2 , class V2 >
void boost::numeric::ublas::blas_1::rot (const T1 &t1, V1 &v1, const T2 &t2, V2 &v2)
 Performs rotation of points in the plane and assign the result to the first vector. More...
 
template<class V , class M >
V & boost::numeric::ublas::blas_2::tmv (V &v, const M &m)
 multiply vector v with triangular matrix m More...
 
template<class V , class M , class C >
V & boost::numeric::ublas::blas_2::tsv (V &v, const M &m, C)
 solve $m.x = v$ in place, where m is a triangular matrix More...
 
template<class V1 , class T1 , class T2 , class M , class V2 >
V1 & boost::numeric::ublas::blas_2::gmv (V1 &v1, const T1 &t1, const T2 &t2, const M &m, const V2 &v2)
 compute $ v_1 = t_1.v_1 + t_2.(m.v_2)$, a general matrix-vector product More...
 
template<class M , class T , class V1 , class V2 >
M & boost::numeric::ublas::blas_2::gr (M &m, const T &t, const V1 &v1, const V2 &v2)
 Rank 1 update: $ m = m + t.(v_1.v_2^T)$. More...
 
template<class M , class T , class V >
M & boost::numeric::ublas::blas_2::sr (M &m, const T &t, const V &v)
 symmetric rank 1 update: $m = m + t.(v.v^T)$ More...
 
template<class M , class T , class V >
M & boost::numeric::ublas::blas_2::hr (M &m, const T &t, const V &v)
 hermitian rank 1 update: $m = m + t.(v.v^H)$ More...
 
template<class M , class T , class V1 , class V2 >
M & boost::numeric::ublas::blas_2::sr2 (M &m, const T &t, const V1 &v1, const V2 &v2)
 symmetric rank 2 update: $ m=m+ t.(v_1.v_2^T + v_2.v_1^T)$ More...
 
template<class M , class T , class V1 , class V2 >
M & boost::numeric::ublas::blas_2::hr2 (M &m, const T &t, const V1 &v1, const V2 &v2)
 hermitian rank 2 update: $m=m+t.(v_1.v_2^H) + v_2.(t.v_1)^H)$ More...
 
template<class M1 , class T , class M2 , class M3 >
M1boost::numeric::ublas::blas_3::tmm (M1 &m1, const T &t, const M2 &m2, const M3 &m3)
 triangular matrix multiplication $m_1=t.m_2.m_3$ where $m_2$ and $m_3$ are triangular More...
 
template<class M1 , class T , class M2 , class C >
M1boost::numeric::ublas::blas_3::tsm (M1 &m1, const T &t, const M2 &m2, C)
 triangular solve $ m_2.x = t.m_1$ in place, $m_2$ is a triangular matrix More...
 
template<class M1 , class T1 , class T2 , class M2 , class M3 >
M1boost::numeric::ublas::blas_3::gmm (M1 &m1, const T1 &t1, const T2 &t2, const M2 &m2, const M3 &m3)
 general matrix multiplication $m_1=t_1.m_1 + t_2.m_2.m_3$ More...
 
template<class M1 , class T1 , class T2 , class M2 >
M1boost::numeric::ublas::blas_3::srk (M1 &m1, const T1 &t1, const T2 &t2, const M2 &m2)
 symmetric rank k update: $m_1=t.m_1+t_2.(m_2.m_2^T)$ More...
 
template<class M1 , class T1 , class T2 , class M2 >
M1boost::numeric::ublas::blas_3::hrk (M1 &m1, const T1 &t1, const T2 &t2, const M2 &m2)
 hermitian rank k update: $m_1=t.m_1+t_2.(m_2.m2^H)$ More...
 
template<class M1 , class T1 , class T2 , class M2 , class M3 >
M1boost::numeric::ublas::blas_3::sr2k (M1 &m1, const T1 &t1, const T2 &t2, const M2 &m2, const M3 &m3)
 generalized symmetric rank k update: $m_1=t_1.m_1+t_2.(m_2.m3^T)+t_2.(m_3.m2^T)$ More...
 
template<class M1 , class T1 , class T2 , class M2 , class M3 >
M1boost::numeric::ublas::blas_3::hr2k (M1 &m1, const T1 &t1, const T2 &t2, const M2 &m2, const M3 &m3)
 generalized hermitian rank k update: * $m_1=t_1.m_1+t_2.(m_2.m_3^H)+(m_3.(t_2.m_2)^H)$ More...