fgt
C++ library for fast Gauss transforms
All Classes Namespaces Files Functions Typedefs Pages
Public Member Functions | List of all members
fgt::Ifgt Class Reference

Improved Fast Gauss Transform. More...

#include <fgt.hpp>

Inheritance diagram for fgt::Ifgt:
fgt::Transform

Public Member Functions

 Ifgt (const MatrixRef source, double bandwidth, double epsilon)
 Creates a new Ifgt. More...
 
 Ifgt (const Ifgt &)=delete
 Explicitly deleted copy constructor.
 
Ifgtoperator= (const Ifgt &)=delete
 Explicitly deleted assgnment operator.
 
Ifgtoperator= (Ifgt &&)=delete
 Explicitly deleted move assignment operator.
 
virtual ~Ifgt ()
 Destroys this transform. More...
 
double epsilon () const
 Returns the error tolerance value.
 
Matrix::Index nclusters () const
 Returns the number of clusters.
 
Matrix::Index truncation_number () const
 Returns the truncation number.
 
Matrix::Index p_max_total () const
 Returns the length of each monomial.
 
- Public Member Functions inherited from fgt::Transform
 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

Improved Fast Gauss Transform.

Constructor & Destructor Documentation

fgt::Ifgt::Ifgt ( const MatrixRef  source,
double  bandwidth,
double  epsilon 
)

Creates a new Ifgt.

This constructor will precompute some values, including the clusters and monomials, in hopes of speeding up subsequent runs.

virtual fgt::Ifgt::~Ifgt ( )
virtual

Destroys this transform.

Required because PIMPL.


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