Improved Fast Gauss Transform. More...
#include <fgt.hpp>
Public Member Functions | |
Ifgt (const MatrixRef source, double bandwidth, double epsilon) | |
Creates a new Ifgt. More... | |
Ifgt (const Ifgt &)=delete | |
Explicitly deleted copy constructor. | |
Ifgt & | operator= (const Ifgt &)=delete |
Explicitly deleted assgnment operator. | |
Ifgt & | operator= (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. | |
![]() | |
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. | |
Transform & | operator= (const Transform &)=delete |
Explicitly deleted assgnment operator. | |
Transform & | operator= (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. | |
Improved Fast Gauss Transform.
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 |
Destroys this transform.
Required because PIMPL.