OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Namespaces | Functions
matrix_vector_operation.h File Reference
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <stdexcept>
Include dependency graph for matrix_vector_operation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 matt_boost
 Expands the existing functions of the boost library uBLAS (http://www.boost.org/).
 

Functions

template<class V >
BOOST_UBLAS_INLINE V matt_boost::trace (ublas::matrix< V > &e)
 Computes the trace of a square matrix. More...
 
template<class V >
BOOST_UBLAS_INLINE
ublas::vector< V > 
matt_boost::cross_prod (ublas::vector< V > &v1, ublas::vector< V > &v2)
 Computes the cross product \( v_{1}\times v_{2}\) of two vectors in \( \mathbb{R}^{3} \). More...
 
template<class V >
BOOST_UBLAS_INLINE
ublas::matrix< V > 
matt_boost::taylor_exp (const ublas::matrix< V > &F, const V ds, const unsigned int order)
 Computes Taylor-Series of M(s) = exp(F*s) More...
 
template<class M , class E1 , class E2 , class E3 >
BOOST_UBLAS_INLINE M matt_boost::gemmm (const ublas::matrix_expression< E1 > &e1, const ublas::matrix_expression< E2 > &e2, const ublas::matrix_expression< E3 > &e3)
 Generalized matrix-matrix-matrix multiplication \( e_{1}\cdot e_{2}\cdot e_{3} \). More...
 

Detailed Description

This file provides additional functions for the matrix classes of uBLAS that is part of the BOOST library (http://www.boost.org/).

Author
Matthias Frey
Version
1.0

Definition in file matrix_vector_operation.h.