CLUEstering
High-performance density-based weighted clustering library developed at CERN
Loading...
Searching...
No Matches
clue::GaussianKernel Class Reference

The GaussianKernel class implements a Gaussian kernel for convolution. It computes the kernel value based on the Gaussian function, which is defined by its average, standard deviation, and amplitude. More...

#include <ConvolutionalKernel.hpp>

Public Member Functions

 GaussianKernel (float gaus_avg, float gaus_std, float gaus_amplitude)
 Construct a GaussianKernel object.
 
template<typename TAcc>
ALPAKA_FN_HOST_ACC float operator() (const TAcc &acc, float dist_ij, int point_id, int j) const
 Computes the kernel value between two points.
 

Detailed Description

The GaussianKernel class implements a Gaussian kernel for convolution. It computes the kernel value based on the Gaussian function, which is defined by its average, standard deviation, and amplitude.

Constructor & Destructor Documentation

◆ GaussianKernel()

clue::GaussianKernel::GaussianKernel ( float gaus_avg,
float gaus_std,
float gaus_amplitude )

Construct a GaussianKernel object.

Parameters
gaus_avgThe average value for the Gaussian kernel
gaus_stdThe standard deviation for the Gaussian kernel
gaus_amplitudeThe amplitude for the Gaussian kernel

Member Function Documentation

◆ operator()()

template<typename TAcc>
ALPAKA_FN_HOST_ACC float clue::GaussianKernel::operator() ( const TAcc & acc,
float dist_ij,
int point_id,
int j ) const

Computes the kernel value between two points.

Parameters
accThe accelerator to use for the computation
dist_ijThe distance between the two points
point_idThe index of the first point
jThe index of the second point
Returns
The computed kernel value

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