fgt
C++ library for fast Gauss transforms
|
Direct Gauss transform using a KD-tree truncation. More...
#include <fgt.hpp>
Public Member Functions | |
DirectTree (const MatrixRef source, double bandwidth, double epsilon) | |
Creates a new direct tree transform. More... | |
DirectTree (const DirectTree &)=delete | |
Explicitly deleted copy constructor. | |
DirectTree & | operator= (const DirectTree &)=delete |
Explicitly deleted assgnment operator. | |
DirectTree & | operator= (DirectTree &&)=delete |
Explicitly deleted move assignment operator. | |
virtual | ~DirectTree () |
Destroys a DirectTree. More... | |
double | epsilon () const |
Returns the error tolerance value. | |
![]() | |
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. | |
Direct Gauss transform using a KD-tree truncation.
fgt::DirectTree::DirectTree | ( | const MatrixRef | source, |
double | bandwidth, | ||
double | epsilon | ||
) |
Creates a new direct tree transform.
This constructor pre-computes the KD-tree, so subsequent calls to compute()
will re-use the same tree.
|
virtual |
Destroys a DirectTree.
Required because of the unique pointer to a incomplete class.