fgt
C++ library for fast Gauss transforms
Public Member Functions | List of all members
fgt::Transform Class Referenceabstract

Abstract base class for all supported variants of the Gauss transform. More...

#include <fgt.hpp>

Inheritance diagram for fgt::Transform:
fgt::Direct fgt::DirectTree fgt::Ifgt

Public Member Functions

 Transform (const MatrixRef source, double bandwidth)
 Constructs a new transform that can be re-used with different targets.
 
 Transform (const Transform &)=delete
 Explicitly deleted copy constructor.
 
Transformoperator= (const Transform &)=delete
 Explicitly deleted assgnment operator.
 
Transformoperator= (Transform &&)=delete
 Explicitly deleted move assignment operator.
 
virtual ~Transform ()
 Destroys a transform.
 
const MatrixRef source () const
 Returns the pointer to the source dataset.
 
double bandwidth () const
 Returns the bandwidth of the transform.
 
Vector compute (const MatrixRef target)
 Computes the Gauss transform for the given target dataset.
 
Vector compute (const MatrixRef target, const VectorRef weights)
 Computes the Gauss transform with the given weights.
 

Detailed Description

Abstract base class for all supported variants of the Gauss transform.

Some flavors of transform can pre-compute some data, e.g. the DirectTree can pre-compute the KD-tree. This pre-computation allows reuse of those data structure for multiple runs of the transform, potentially with different target data sets.


The documentation for this class was generated from the following file: