ug4
math_matrix_vector_functions_common_impl.hpp File Reference
#include <cmath>
#include "common/error.h"
#include "math_matrix.h"
#include "math_vector.h"

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
template<typename matrix_t , typename vector_t >
void ug::OrthogProjectVec (vector_t &v, const matrix_t &A)
 Orthogonal projection. More...
 
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. More...
 
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. More...