ug4
operations_transform.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<typename vector_t , typename T1 >
void ug::VectorAdd (vector_t &dest, const T1 &t1)
 transforms x += X1 into x = (1.0)*X1 + (1.0)*x More...
 
template<typename vector_t , typename T1 , typename operation , typename T2 >
void ug::VectorAssign (vector_t &dest, const AlphaMatVec_X_Expression< T1, operation, T2 > &t)
 
template<typename vector_t , typename matrix_t >
void ug::VectorAssign (vector_t &dest, const MatVec_Expression< matrix_t, vector_t > &m1)
 v = Mv More...
 
template<typename vector_t , typename vector_t2 , typename vector_t3 >
void ug::VectorAssign (vector_t &dest, const vector_t2 &v1)
 v = v More...
 
template<typename vector_t , typename T0 , typename matrix_t , typename vector_t2 >
void ug::VectorAssign (vector_t &dest, double alpha0, const T0 &t0, double alpha1, const vector_t2 &v1, double alpha2, const MatVec_Expression< matrix_t, vector_t > &m2)
 
template<typename vector_t , typename T1 , typename operation , typename T2 , typename T3 >
void ug::VectorAssign (vector_t &dest, double alpha1, const AlphaMatVec_X_Expression< T1, operation, T2 > &t1, double alpha2, const T3 &t2)
 
template<typename vector_t , typename matrix_t >
void ug::VectorAssign (vector_t &dest, double alpha1, const MatVec_Expression< matrix_t, vector_t > &m1, double alpha2, const MatVec_Expression< matrix_t, vector_t > &m2)
 v = Mv + Mv More...
 
template<typename vector_t , typename matrix_t , typename vector_t2 >
void ug::VectorAssign (vector_t &dest, double alpha1, const MatVec_Expression< matrix_t, vector_t > &m1, double alpha2, const MatVec_Expression< matrix_t, vector_t > &m2, double alpha3, const vector_t2 &v3)
 v = Mv + Mv + v More...
 
template<typename vector_t , typename matrix_t , typename vector_t2 >
void ug::VectorAssign (vector_t &dest, double alpha1, const MatVec_Expression< matrix_t, vector_t > &m1, double alpha2, const vector_t2 &v2)
 v = Mv + v More...
 
template<typename vector_t , typename matrix_t , typename vector_t2 , typename vector_t3 >
void ug::VectorAssign (vector_t &dest, double alpha1, const MatVec_Expression< matrix_t, vector_t > &m1, double alpha2, const vector_t2 &v2, double alpha3, const vector_t3 &v3)
 v = Mv + v + v More...
 
template<typename vector_t , typename T1 , typename T2 , typename operation , typename T3 >
void ug::VectorAssign (vector_t &dest, double alpha1, const T1 &t1, double alpha2, const AlphaMatVec_X_Expression< T2, operation, T3 > &t2)
 
template<typename vector_t , typename matrix_t >
void ug::VectorAssign (vector_t &dest, double alpha1, const vector_t &v1, double alpha2, const MatVec_Expression< matrix_t, vector_t > &m2)
 v = v + Mv More...
 
template<typename vector_t , typename vector_t1 , typename vector_t2 , typename vector_t3 >
void ug::VectorAssign (vector_t &dest, double alpha1, const vector_t1 &v1, double alpha2, const vector_t2 &v2, double alpha3, const vector_t3 &v3)
 v = v + v + v More...
 
template<typename vector_t , typename matrix_t , typename vector_t2 , typename T3 >
void ug::VectorAssign (vector_t &dest, double alpha1, const vector_t2 &v1, double alpha2, const MatVec_Expression< matrix_t, vector_t > &m2, double alpha3, const T3 &t3)
 
template<typename vector_t , typename vector_t2 , typename vector_t3 >
void ug::VectorAssign (vector_t &dest, double alpha1, const vector_t2 &v1, double alpha2, const vector_t3 &v2)
 v = v + v More...
 
template<typename vector_t , typename T1 >
void ug::VectorSub (vector_t &dest, const T1 &t1)
 transforms x -= X1 into x = (-1.0)*X1 + (1.0)*x More...