H2Lib  3.0
Data Structures | Macros | Typedefs | Functions
uniform.h File Reference
#include "settings.h"
#include "amatrix.h"
#include "clusterbasis.h"
#include "clusteroperator.h"
#include "rkmatrix.h"

Go to the source code of this file.

Data Structures

struct  _uniform
 Representation of an admissible block for $ \mathcal H^2 $-matrices. More...
 

Typedefs

typedef struct _uniform uniform
 Representation of an admissible block for $ \mathcal H^2 $-matrices.
 
typedef uniformpuniform
 Pointer to uniform object.
 
typedef const uniformpcuniform
 Pointer to a constant uniform object.
 

Functions

puniform new_uniform (pclusterbasis rb, pclusterbasis cb)
 Create a new uniform object. More...
 
void del_uniform (puniform u)
 Deletes an uniform object. More...
 
void ref_row_uniform (puniform u, pclusterbasis rb)
 Append this uniform object to the block row list. More...
 
void ref_col_uniform (puniform u, pclusterbasis cb)
 Append this uniform object to the block column list. More...
 
void unref_row_uniform (puniform u)
 Remove block row references to an uniform object. More...
 
void unref_col_uniform (puniform u)
 Remove block column references to an uniform object. More...
 
size_t getsize_uniform (pcuniform u)
 Get size of a given uniform object. More...
 
void clear_uniform (puniform u)
 Sets the coupling matrix to zero. More...
 
void copy_uniform (bool trans, pcuniform src, puniform trg)
 Copy a uniform matrix $G$. More...
 
puniform clone_uniform (pcuniform src)
 Clone a uniform matrix. More...
 
void scale_uniform (field alpha, puniform u)
 Scale a uniform matrix. More...
 
void random_uniform (puniform u)
 Fill a uniform matrix with random coefficients. More...
 
void mvm_uniform_avector (field alpha, bool trans, pcuniform u, pcavector x, pavector y)
 Computes the euclidean-norm of the coupling matrix and or the product of weight matrices with the coupling matrix. More...
 
void add_projected_uniform (pcuniform u, pcclusteroperator ro, pcclusteroperator co, puniform unew)
 Addition of two uniform matrices in different clusterbasis. More...
 
void project_inplace_uniform (puniform u, pclusterbasis rb, pcclusteroperator ro, pclusterbasis cb, pcclusteroperator co)
 Project uniform matrix into new clusterbasis. More...
 
void add_rkmatrix_uniform (pcrkmatrix r, puniform unew)
 Adds a low rank matrix to an uniform matrix. More...
 
uint getrows_uniform (pcuniform u)
 Get the number of rows of a uniform matrix $G=V S W^*$. More...
 
uint getcols_uniform (pcuniform u)
 Get the number of columns of a uniform matrix $G=V S W^*$. More...
 
pamatrix getS_uniform (puniform u)
 Get the factor S of a uniform matrix $G=V S W^*$. More...
 

Detailed Description

Author
Steffen Börm