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

The ExponentialKernel class implements an exponential kernel for convolution. It computes the kernel value based on the exponential function, which is defined by its average and amplitude. More...

#include <ConvolutionalKernel.hpp>

Public Member Functions

 ExponentialKernel (float exp_avg, float exp_amplitude)
 Construct an ExponentialKernel 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 ExponentialKernel class implements an exponential kernel for convolution. It computes the kernel value based on the exponential function, which is defined by its average and amplitude.

Constructor & Destructor Documentation

◆ ExponentialKernel()

clue::ExponentialKernel::ExponentialKernel ( float exp_avg,
float exp_amplitude )

Construct an ExponentialKernel object.

Parameters
exp_avgThe average value for the exponential kernel
exp_amplitudeThe amplitude for the exponential kernel

Member Function Documentation

◆ operator()()

template<typename TAcc>
ALPAKA_FN_HOST_ACC float clue::ExponentialKernel::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: