Ponca  292d8d7132745e0d4242ff9a01e93697fc96b204
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::CompactExpWeightKernel< _Scalar > Class Template Reference

Compact Exponential WeightKernel defined in \(\left[0 : 1\right]\). More...

#include <weightKernel.h>

Inheritance diagram for Ponca::CompactExpWeightKernel< _Scalar >:
Collaboration diagram for Ponca::CompactExpWeightKernel< _Scalar >:

Public Types

using Scalar = _Scalar
 Scalar type defined outside the class.

Public Member Functions

Scalar f (const Scalar &_x) const
 Defines the smooth weighting function \( w(x) = e^{-\frac{x^2}{1 - x^2}} \).
Scalar df (const Scalar &_x) const
 Defines the smooth first order weighting function \( \nabla w(x) = -\frac{2 x e^{\frac{x^2}{x^2 - 1}}}{(1 - x^2)^2} \).
Scalar ddf (const Scalar &_x) const
 Defines the smooth second order weighting function \( \nabla^2 w(x) = \frac{2 e^{\frac{x^2}{x^2 - 1}} \left(3 x^4 - 1\right)}{(x^2 - 1)^4} \).

Static Public Attributes

static constexpr bool isCompact = true
 The kernel is compact and shall not be evaluated outside of the scale bounds.
static constexpr bool isDValid = true
 df is defined and valid on the definition interval
static constexpr bool isDDValid = true
 ddf is defined and valid on the definition interval

Detailed Description

template<typename _Scalar>
class Ponca::CompactExpWeightKernel< _Scalar >

Compact Exponential WeightKernel defined in \(\left[0 : 1\right]\).

Continuity is \(C^\infty\) for \(x=1\).

Definition at line 245 of file weightKernel.h.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar>
using Ponca::CompactExpWeightKernel< _Scalar >::Scalar = _Scalar

Scalar type defined outside the class.

Definition at line 249 of file weightKernel.h.

Member Function Documentation

◆ ddf()

template<typename _Scalar>
Scalar Ponca::CompactExpWeightKernel< _Scalar >::ddf ( const Scalar & _x) const
inlinenodiscard

Defines the smooth second order weighting function \( \nabla^2 w(x) = \frac{2 e^{\frac{x^2}{x^2 - 1}} \left(3 x^4 - 1\right)}{(x^2 - 1)^4} \).

Definition at line 288 of file weightKernel.h.

◆ df()

template<typename _Scalar>
Scalar Ponca::CompactExpWeightKernel< _Scalar >::df ( const Scalar & _x) const
inlinenodiscard

◆ f()

template<typename _Scalar>
Scalar Ponca::CompactExpWeightKernel< _Scalar >::f ( const Scalar & _x) const
inlinenodiscard

Defines the smooth weighting function \( w(x) = e^{-\frac{x^2}{1 - x^2}} \).

See also
https://www.wolframalpha.com/input?i=e%5E%28-x%5E2%2F%281+-+x%5E2%29%29&assumption=%22ClashPrefs%22+-%3E+%7B%22Math%22%7D

Definition at line 259 of file weightKernel.h.

Member Data Documentation

◆ isCompact

template<typename _Scalar>
bool Ponca::CompactExpWeightKernel< _Scalar >::isCompact = true
staticconstexpr

The kernel is compact and shall not be evaluated outside of the scale bounds.

Definition at line 252 of file weightKernel.h.

◆ isDDValid

template<typename _Scalar>
bool Ponca::CompactExpWeightKernel< _Scalar >::isDDValid = true
staticconstexpr

ddf is defined and valid on the definition interval

Definition at line 303 of file weightKernel.h.

◆ isDValid

template<typename _Scalar>
bool Ponca::CompactExpWeightKernel< _Scalar >::isDValid = true
staticconstexpr

df is defined and valid on the definition interval

Definition at line 301 of file weightKernel.h.