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

Direct Gauss transform using a KD-tree truncation. More...

#include <fgt.hpp>

Inheritance diagram for fgt::DirectTree:
fgt::Transform

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.
 
DirectTreeoperator= (const DirectTree &)=delete
 Explicitly deleted assgnment operator.
 
DirectTreeoperator= (DirectTree &&)=delete
 Explicitly deleted move assignment operator.
 
virtual ~DirectTree ()
 Destroys a DirectTree. More...
 
double epsilon () const
 Returns the error tolerance value.
 
- 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

Direct Gauss transform using a KD-tree truncation.

Constructor & Destructor Documentation

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 fgt::DirectTree::~DirectTree ( )
virtual

Destroys a DirectTree.

Required because of the unique pointer to a incomplete class.


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