OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Functions | |
template<class V > | |
BOOST_UBLAS_INLINE V | trace (ublas::matrix< V > &e) |
Computes the trace of a square matrix. More... | |
template<class V , class A > | |
BOOST_UBLAS_INLINE ublas::vector< V, A > | cross_prod (ublas::vector< V, A > &v1, ublas::vector< V, A > &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 > | 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 | 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... | |
BOOST_UBLAS_INLINE ublas::vector<V, A> matt_boost::cross_prod | ( | ublas::vector< V, A > & | v1, |
ublas::vector< V, A > & | v2 | ||
) |
Computes the cross product \( v_{1}\times v_{2}\) of two vectors in \( \mathbb{R}^{3} \).
Definition at line 60 of file matrix_vector_operation.h.
Referenced by RealDiracMatrix::diagonalize(), and RealDiracMatrix::update().
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} \).
Definition at line 92 of file matrix_vector_operation.h.
References prod().
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)
Definition at line 76 of file matrix_vector_operation.h.
References prod().
BOOST_UBLAS_INLINE V matt_boost::trace | ( | ublas::matrix< V > & | e | ) |
Computes the trace of a square matrix.
Definition at line 45 of file matrix_vector_operation.h.
References Physics::e, and sum().
Referenced by RealDiracMatrix::diagonalize().