Standard multivariate Gaussian kernel. More...
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 |
Standard multivariate Gaussian kernel.
Definition at line 53 of file kernel.h.
double GaussianKernel::CalcNormConstant | ( | index_t | dims | ) | const [inline] |
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] |
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] |
void GaussianKernel::Init | ( | double | bandwidth_in | ) | [inline] |
double GaussianKernel::MaxUnnormValue | ( | ) | [inline] |
double GaussianKernel::MaxUnnormValue | ( | ) | [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.
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.