ug4
additional_math.h File Reference
#include "smart_ptr_vector.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Macros

#define PINVIT_PROFILE_BEGIN(t)   PROFILE_BEGIN_GROUP(t, "pinvit algebra")
 
#define PINVIT_PROFILE_END()   PROFILE_END()
 
#define PINVIT_PROFILE_FUNC()   PROFILE_FUNC_GROUP("pinvit algebra")
 

Functions

bool ug::absCompare (double a, double b)
 
template<typename matrix_type , typename vector_type >
double ug::EnergyNorm (vector_type &x, matrix_type &A)
 
template<typename matrix_type , typename vector_type >
double ug::EnergyNorm (vector_type &x, matrix_type &A, vector_type &tmp)
 
template<typename matrix_type , typename vector_type >
double ug::EnergyProd (vector_type &v1, matrix_type &A, vector_type &v2)
 
template<typename matrix_type , typename vector_type >
double ug::EnergyProd (vector_type &v1, matrix_type &A, vector_type &v2, vector_type &tmp)
 
template<typename T >
void ug::MemSwap (T &a, T &b)
 
template<typename matrix_type , typename vector_type , typename densematrix_type >
void ug::MultiEnergyProd (matrix_type &A, SmartPtrVector< vector_type > &px, DenseMatrix< densematrix_type > &rA, size_t n)
 
template<typename vector_type , typename densematrix_type >
void ug::MultiScalProd (vector_type &px, DenseMatrix< densematrix_type > &rA, size_t n)
 
template<typename matrix_type >
void ug::PrintMaple (const matrix_type &mat, const char *name)
 
template<typename matrix_type >
void ug::PrintMatrix (const matrix_type &mat, const char *name)
 
template<typename tvector >
void ug::PrintStorageType (const tvector &v)
 

Macro Definition Documentation

◆ PINVIT_PROFILE_BEGIN

#define PINVIT_PROFILE_BEGIN (   t)    PROFILE_BEGIN_GROUP(t, "pinvit algebra")

◆ PINVIT_PROFILE_END

#define PINVIT_PROFILE_END ( )    PROFILE_END()

◆ PINVIT_PROFILE_FUNC

#define PINVIT_PROFILE_FUNC ( )    PROFILE_FUNC_GROUP("pinvit algebra")