GaussianKernel Class Reference

Standard multivariate Gaussian kernel. More...

List of all members.

Public Member Functions

double bandwidth_sq () const
double bandwidth_sq () const
double CalcNormConstant (index_t dims) const
 Divide by this constant when you're done.
double CalcNormConstant (index_t dims) const
 Divide by this constant when you're done.
double EvalUnnorm (double dist) const
 Evaluates an unnormalized density, given the distance between the kernel's mean and a query point.
double EvalUnnorm (double dist) const
 Evaluates an unnormalized density, given the distance between the kernel's mean and a query point.
double EvalUnnormOnSq (double sqdist) const
 Evaluates an unnormalized density, given the square of the distance.
double EvalUnnormOnSq (double sqdist) const
 Evaluates an unnormalized density, given the square of the distance.
void Init (double bandwidth_in)
 Initializes to a specific bandwidth.
void Init (double bandwidth_in, index_t dims)
void Init (double bandwidth_in)
 Initializes to a specific bandwidth.
void Init (double bandwidth_in, index_t dims)
double MaxUnnormValue ()
 Gets the maximum unnormalized value.
double MaxUnnormValue ()
 Gets the maximum unnormalized value.
DRange RangeUnnormOnSq (const DRange &range) const
 Unnormalized range on a range of squared distances.
DRange RangeUnnormOnSq (const DRange &range) const
 Unnormalized range on a range of squared distances.

Static Public Attributes

static const bool HAS_CUTOFF = false

Detailed Description

Standard multivariate Gaussian kernel.

Definition at line 53 of file kernel.h.


Member Function Documentation

double GaussianKernel::CalcNormConstant ( index_t  dims  )  const [inline]

Divide by this constant when you're done.

Definition at line 117 of file kernel.h.

References math::PI.

double GaussianKernel::CalcNormConstant ( index_t  dims  )  const [inline]

Divide by this constant when you're done.

Definition at line 117 of file kernel.h.

References math::PI.

Referenced by FGTKde::~FGTKde().

double GaussianKernel::EvalUnnorm ( double  dist  )  const [inline]

Evaluates an unnormalized density, given the distance between the kernel's mean and a query point.

Definition at line 89 of file kernel.h.

References EvalUnnormOnSq().

double GaussianKernel::EvalUnnorm ( double  dist  )  const [inline]

Evaluates an unnormalized density, given the distance between the kernel's mean and a query point.

Definition at line 89 of file kernel.h.

References EvalUnnormOnSq().

double GaussianKernel::EvalUnnormOnSq ( double  sqdist  )  const [inline]

Evaluates an unnormalized density, given the square of the distance.

Definition at line 97 of file kernel.h.

double GaussianKernel::EvalUnnormOnSq ( double  sqdist  )  const [inline]

Evaluates an unnormalized density, given the square of the distance.

Definition at line 97 of file kernel.h.

Referenced by EvalUnnorm(), and RangeUnnormOnSq().

void GaussianKernel::Init ( double  bandwidth_in  )  [inline]

Initializes to a specific bandwidth.

Parameters:
bandwidth_in the standard deviation sigma

Definition at line 80 of file kernel.h.

void GaussianKernel::Init ( double  bandwidth_in  )  [inline]

Initializes to a specific bandwidth.

Parameters:
bandwidth_in the standard deviation sigma

Definition at line 80 of file kernel.h.

double GaussianKernel::MaxUnnormValue (  )  [inline]

Gets the maximum unnormalized value.

Definition at line 110 of file kernel.h.

double GaussianKernel::MaxUnnormValue (  )  [inline]

Gets the maximum unnormalized value.

Definition at line 110 of file kernel.h.

DRange GaussianKernel::RangeUnnormOnSq ( const DRange range  )  const [inline]

Unnormalized range on a range of squared distances.

! TODO explain

Definition at line 103 of file kernel.h.

References EvalUnnormOnSq(), DRange::hi, and DRange::lo.

DRange GaussianKernel::RangeUnnormOnSq ( const DRange range  )  const [inline]

Unnormalized range on a range of squared distances.

! TODO explain

Definition at line 103 of file kernel.h.

References EvalUnnormOnSq(), DRange::hi, and DRange::lo.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 12:04:40 2011 for FASTlib by  doxygen 1.6.3