ug4

Classes

class  ug::ConstMatrixRow< TMatrix >
 
struct  ug::CPUAlgebra
 
class  ug::GPUSparseMatrix< TValueType >
 sparse matrix for big, variable sparse matrices. More...
 
struct  ug::matrix_algebra_type_traits< GPUSparseMatrix< T > >
 
struct  ug::matrix_algebra_type_traits< SparseMatrix< T > >
 
class  ug::MatrixRow< TMatrix >
 
class  ug::SparseMatrix< TValueType >
 sparse matrix for big, variable sparse matrices. More...
 
class  ug::Vector< TValueType >
 

Functions

template<typename vector_t , typename matrix_t >
void ug::MatMultTransposedAdd (vector_t &dest, const number &alpha1, const vector_t &v1, const number &beta1, const GPUSparseMatrix< matrix_t > &A1, const vector_t &w1)
 calculates dest = alpha1*v1 + beta1 * A1^T *w1; More...
 
template<typename vector_t , typename matrix_t >
void ug::MatMultTransposedAdd (vector_t &dest, const number &alpha1, const vector_t &v1, const number &beta1, const SparseMatrix< matrix_t > &A1, const vector_t &w1)
 calculates dest = alpha1*v1 + beta1 * A1^T *w1; More...
 

Detailed Description

Function Documentation

◆ MatMultTransposedAdd() [1/2]

template<typename vector_t , typename matrix_t >
void ug::MatMultTransposedAdd ( vector_t &  dest,
const number alpha1,
const vector_t &  v1,
const number beta1,
const GPUSparseMatrix< matrix_t > &  A1,
const vector_t &  w1 
)
inline

calculates dest = alpha1*v1 + beta1 * A1^T *w1;

References ug::GPUSparseMatrix< TValueType >::axpy_transposed().

◆ MatMultTransposedAdd() [2/2]

template<typename vector_t , typename matrix_t >
void ug::MatMultTransposedAdd ( vector_t &  dest,
const number alpha1,
const vector_t &  v1,
const number beta1,
const SparseMatrix< matrix_t > &  A1,
const vector_t &  w1 
)
inline

calculates dest = alpha1*v1 + beta1 * A1^T *w1;

References ug::SparseMatrix< TValueType >::axpy_transposed().