Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
math_matrix_vector_functions.h File Reference

Go to the source code of this file.

Namespaces

namespace  ug
 the ug namespace
 

Functions

template<typename matrix_t , typename vector_t >
void ug::GivensMatVecMult (matrix_t &A, vector_t &v)
 Multiplication by the Givens rotation of the QR-Decomposition.
 
template<typename matrix_t , typename vector_t >
void ug::InvMatVecMult_byGivens (matrix_t &A, vector_t &v)
 Multiplication by the inverse using the Givens rotations.
 
template<typename vector_t_out , typename matrix_t , typename vector_t_in >
void ug::MatVecMult (vector_t_out &vOut, const matrix_t &m, const vector_t_in &v)
 Matrix - Vector Multiplication.
 
template<typename vector_t_out , typename matrix_t , typename vector_t_in >
void ug::MatVecMultAppend (vector_t_out &vOut, const matrix_t &m, const vector_t_in &v)
 Matrix - Vector Multiplication adding to a second vector.
 
template<typename vector_t_out , typename matrix_t , typename vector_t_in >
void ug::MatVecScaleMultAppend (vector_t_out &vOut, typename vector_t_out::value_type s, const matrix_t &m, const vector_t_in &v)
 Matrix - Vector Multiplication added scaled to a second vector.
 
template<typename matrix_t , typename vector_t >
void ug::OrthogProjectVec (vector_t &v, const matrix_t &A)
 Orthogonal projection.
 
template<typename vector_t_out , typename matrix_t , typename vector_t_in >
void ug::TransposedMatVecMult (vector_t_out &vOut, const matrix_t &m, const vector_t_in &v)
 Transposed Matrix - Vector Muliplication.
 
template<typename vector_t_out , typename matrix_t , typename vector_t_in >
void ug::TransposedMatVecMultAdd (vector_t_out &vOut, const matrix_t &m, const vector_t_in &v)
 Transposed Matrix - Vector Muliplication.