H2Lib  3.0
Data Structures | Typedefs | Functions
truncation.h File Reference
#include "realavector.h"
#include "settings.h"

Go to the source code of this file.

Data Structures

struct  _truncmode
 Define different strategies used by various truncation and compression algorithms for hmatrices and h2matrices. More...
 

Typedefs

typedef struct _truncmode truncmode
 Abbreviation for struct _truncmode .
 
typedef truncmodeptruncmode
 Abbreviation for a pointer to a truncmode object.
 
typedef const truncmodepctruncmode
 Abbreviation for a pointer to a constant truncmode object.
 

Functions

ptruncmode new_truncmode ()
 Create a new truncmode object without any further initializations. More...
 
void del_truncmode (ptruncmode tm)
 Free storage for truncmode object. More...
 
ptruncmode new_releucl_truncmode ()
 Create a new truncmode object with relative euclidean error norm. More...
 
ptruncmode new_relfrob_truncmode ()
 Create a new truncmode object with relative frobenius error norm. More...
 
ptruncmode new_blockreleucl_truncmode ()
 Create a new truncmode object with block relative euclidean error norm. More...
 
ptruncmode new_blockrelfrob_truncmode ()
 Create a new truncmode object with block relative frobenius error norm. More...
 
ptruncmode new_abseucl_truncmode ()
 Create a new truncmode object with absolute euclidean error norm. More...
 
uint findrank_truncmode (pctruncmode tm, real eps, pcrealavector sigma)
 Determine new rank for truncation routines. More...
 

Detailed Description

Author
Steffen Börm