GaussianStarKernel Class Reference

Standard multivariate Gaussian kernel. More...

List of all members.

Public Member Functions

double bandwidth_sq () const
double bandwidth_sq () const
double CalcMultiplicativeNormConstant (index_t dims) const
 Multiply densities by this value.
double CalcMultiplicativeNormConstant (index_t dims) const
 Multiply densities by this value.
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, index_t dims)
 Initializes to a specific bandwidth.
void Init (double bandwidth_in, index_t dims)
 Initializes to a specific bandwidth.
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 128 of file kernel.h.


Member Function Documentation

double GaussianStarKernel::CalcMultiplicativeNormConstant ( index_t  dims  )  const [inline]

Multiply densities by this value.

Definition at line 213 of file kernel.h.

References CalcNormConstant().

double GaussianStarKernel::CalcMultiplicativeNormConstant ( index_t  dims  )  const [inline]

Multiply densities by this value.

Definition at line 213 of file kernel.h.

References CalcNormConstant().

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

Divide by this constant when you're done.

Deprecated:
-- this function is very confusing

Definition at line 206 of file kernel.h.

References math::PI_2.

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

Divide by this constant when you're done.

Deprecated:
-- this function is very confusing

Definition at line 206 of file kernel.h.

References math::PI_2.

Referenced by CalcMultiplicativeNormConstant().

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

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

Definition at line 169 of file kernel.h.

References EvalUnnormOnSq().

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

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

Definition at line 169 of file kernel.h.

References EvalUnnormOnSq().

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

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

Definition at line 177 of file kernel.h.

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

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

Definition at line 177 of file kernel.h.

Referenced by EvalUnnorm(), Init(), and RangeUnnormOnSq().

void GaussianStarKernel::Init ( double  bandwidth_in,
index_t  dims 
) [inline]

Initializes to a specific bandwidth.

Parameters:
bandwidth_in the standard deviation sigma

Definition at line 157 of file kernel.h.

References EvalUnnormOnSq(), and math::LN_2.

void GaussianStarKernel::Init ( double  bandwidth_in,
index_t  dims 
) [inline]

Initializes to a specific bandwidth.

Parameters:
bandwidth_in the standard deviation sigma

Definition at line 157 of file kernel.h.

References EvalUnnormOnSq(), and math::LN_2.

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

Unnormalized range on a range of squared distances.

! TODO explain

Definition at line 185 of file kernel.h.

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

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

Unnormalized range on a range of squared distances.

! TODO explain

Definition at line 185 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