STIR
6.2.0
|
Declaration of functions for matrices. More...
#include "stir/Array.h"
#include "stir/BasicCoordinate.h"
#include "stir/numerics/MatrixFunction.inl"
Go to the source code of this file.
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
functions specific for 1D Arrays | |
template<class elemT > | |
elemT | stir::inner_product (const Array< 1, elemT > &v1, const Array< 1, elemT > &v2) |
Inner product of 2 1D arrays. More... | |
template<class elemT > | |
double | stir::angle (const Array< 1, elemT > &v1, const Array< 1, elemT > &v2) |
angle between 2 1D arrays | |
functions for matrices | |
template<class elemT > | |
Array< 1, elemT > | stir::matrix_multiply (const Array< 2, elemT > &m, const Array< 1, elemT > &vec) |
matrix with vector multiplication More... | |
template<int dimension, class elemT > | |
BasicCoordinate< dimension, elemT > | stir::matrix_multiply (const Array< 2, elemT > &m, const BasicCoordinate< dimension, elemT > &vec) |
matrix multiplication with vector (given as BasicCoordinate) More... | |
template<class elemT > | |
Array< 2, elemT > | stir::matrix_multiply (const Array< 2, elemT > &m1, const Array< 2, elemT > &m2) |
matrix multiplication More... | |
template<class elemT > | |
Array< 2, elemT > | stir::matrix_transpose (const Array< 2, elemT > &m) |
matrix transposition | |
template<class elemT > | |
Array< 2, elemT > | stir::diagonal_matrix (const unsigned dimension, const elemT value) |
construct a diagonal matrix with all elements on the diagonal equal More... | |
template<int dimension, class elemT > | |
Array< 2, elemT > | stir::diagonal_matrix (const BasicCoordinate< dimension, elemT > &values) |
construct a diagonal matrix More... | |
Declaration of functions for matrices.