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

Go to the source code of this file.

Data Structures

struct  _clusteroperator
 Representation of a cluster operator. More...
 

Typedefs

typedef struct _clusteroperator clusteroperator
 Representation of a cluster operator.
 
typedef clusteroperatorpclusteroperator
 Pointer to clusteroperator object.
 
typedef const clusteroperatorpcclusteroperator
 Pointer to constant clusterbasis object.
 

Functions

pclusteroperator init_clusteroperator (pclusteroperator co, pccluster t)
 Initialize a clusteroperator object. More...
 
pclusteroperator init_leaf_clusteroperator (pclusteroperator co, pccluster t)
 Initialize a clusteroperator object for a leaf. More...
 
void uninit_clusteroperator (pclusteroperator co)
 Uninitializes a clusteroperator object. More...
 
pclusteroperator new_clusteroperator (pccluster t)
 Create a new clusteroperator object. More...
 
pclusteroperator new_leaf_clusteroperator (pccluster t)
 Creates a new clusteroperator object for a leaf. More...
 
void del_clusteroperator (pclusteroperator co)
 Delete a clusteroperator object. More...
 
void removesons_clusteroperator (pclusteroperator co)
 Turn this clusteroperator into a leaf. More...
 
void ref_clusteroperator (pclusteroperator*ptr, pclusteroperator co)
 Set a pointer to a clusterbasis object, increase its reference counter, and decrease reference counter of original pointer target. More...
 
void unref_clusteroperator (pclusteroperator co)
 Reduce the reference counter of a clusteroperator object. More...
 
void update_clusteroperator (pclusteroperator co)
 Updates bookkeeping information. More...
 
void resize_clusteroperator (pclusteroperator co, uint krow, uint kcol)
 Change the number of rows and columns of a cluster operator and resize cb->C accordingly. More...
 
pclusteroperator identify_son_clusterweight_clusteroperator (pcclusteroperator cwf, pccluster t)
 Find son clusteroperator matching a given cluster. More...
 
pclusteroperator build_from_cluster_clusteroperator (pccluster t)
 Construct a clusteroperator matching a cluster tree. More...
 
pclusteroperator build_from_clusterbasis_clusteroperator (pcclusterbasis cb)
 Construct a clusteroperator matching a clusterbasis. More...
 
uint getactives_clusteroperator ()
 Get number of active clusteroperator objects. More...
 
size_t getsize_clusteroperator (pcclusteroperator co)
 Get the size of a given clusteroperator object. More...
 
void print_tree_clusteroperator (pcclusteroperator co)
 Print the tree structure of a clusteroperator. More...
 
void norm2diff_clusteroperator (pcclusteroperator co1, pcclusteroperator co2)
 Compute and print the norms and norm differences of the coefficient matrices of two cluster operators. More...
 
real compareweights_clusteroperator (pcclusteroperator co1, pcclusteroperator co2)
 Compare two cluster weights. More...
 
pclusteroperatorenumerate_clusteroperator (pccluster t, pclusteroperator co)
 Enumerate clusteroperator according to cluster tree. More...
 
void basisproduct_clusteroperator (pcclusterbasis cb1, pcclusterbasis cb2, pclusteroperator pr)
 Compute the cluster basis product $Z_t = V_{1,t}^* V_{2,t}$. More...
 

Detailed Description

Author
Steffen Börm