H2Lib  3.0
dh2compression.h
Go to the documentation of this file.
1 
2 /* ------------------------------------------------------------
3  * This is the file "dh2compression.h" of the H2Lib package.
4  * All rights reserved, Steffen Boerm 2015
5  * ------------------------------------------------------------ */
6 
11 #ifndef DH2COMPRESSION_H
12 #define DH2COMPRESSION_H
13 
21 #include "dh2matrix.h"
22 #include "truncation.h"
23 
24 /* ------------------------------------------------------------
25  * Compute adaptive cluster bases for dense matrices
26  * ------------------------------------------------------------ */
27 
37  pctruncmode tm, real eps);
38 
48  pctruncmode tm, real eps);
49 
50 /* ------------------------------------------------------------
51  * Approximate dense matrix in new cluster bases
52  * ------------------------------------------------------------ */
53 
64 void
66  pcdclusterbasis rb, uint rd,
67  pcdclusterbasis cb, uint cd,
68  pamatrix s);
69 
77 void
79 
82 #endif
83 
void collectdense_dh2matrix(pcamatrix a, pcdclusterbasis rb, uint rd, pcdclusterbasis cb, uint cd, pamatrix s)
Compute the optimal coupling matrix for a given matrix and given orthogonal row and column cluster ba...
void projectdense_dh2matrix(pcamatrix a, pdh2matrix h2)
Fill a given dh2matrix object with the optimal coefficients for the approximation of a given matrix...
pdclusterbasis buildcol_amatrix_dclusterbasis(pcamatrix G, pcdblock b, pctruncmode tm, real eps)
Construct a directional column basis for an array matrix.
pdclusterbasis buildrow_amatrix_dclusterbasis(pcamatrix G, pcdblock b, pctruncmode tm, real eps)
Construct a directional row basis for an array matrix.
unsigned uint
Unsigned integer type.
Definition: settings.h:70
Tree structure representing a -matrix.
Definition: dh2matrix.h:50
Directional block tree.
Definition: dblock.h:45
Define different strategies used by various truncation and compression algorithms for hmatrices and h...
Definition: truncation.h:43
double real
real floating point type.
Definition: settings.h:97
Representation of a matrix as an array in column-major order.
Definition: amatrix.h:43
Representation of a directional cluster basis.
Definition: dclusterbasis.h:45