9#include PONCA_MULTIARCH_INCLUDE_CU_STD(cmath)
22 template <
typename _Scalar>
62 template <
typename _Scalar>
100 template <
typename _Scalar,
int m,
int n>
114 PONCA_MULTIARCH_STD_MATH(
pow);
121 PONCA_MULTIARCH_STD_MATH(
pow);
128 PONCA_MULTIARCH_STD_MATH(
pow);
147 template <
typename _Scalar>
191 template <
typename _Scalar>
227 template <
typename _Scalar>
244 PONCA_MULTIARCH_STD_MATH(
exp);
255 PONCA_MULTIARCH_STD_MATH(
exp);
268 PONCA_MULTIARCH_STD_MATH(
exp);
269 PONCA_MULTIARCH_STD_MATH(
pow);
300 template <
typename _Scalar>
318 PONCA_MULTIARCH_STD_MATH(
exp);
Aggregator class used to declare specialized structures using CRTP.
Compact Exponential WeightKernel defined in .
static constexpr bool isCompact
The kernel is compact and shall not be evaluated outside of the scale bounds.
Scalar f(const Scalar &_x) const
Defines the smooth weighting function .
static constexpr bool isDValid
df is defined and valid on the definition interval
static constexpr bool isDDValid
ddf is not defined and valid on the definition interval
Scalar ddf(const Scalar &_x) const
Defines the smooth second order weighting function .
Scalar df(const Scalar &_x) const
Defines the smooth first order weighting function .
_Scalar Scalar
Scalar type defined outside the class.
Concept::WeightKernelConcept returning a constant value.
static constexpr bool isCompact
The kernel is compact and shall not be evaluated outside of the scale bounds.
static constexpr bool isDDValid
ddf is defined and valid on the definition interval
Scalar df(const Scalar &) const
Return .
Scalar ddf(const Scalar &) const
Return .
Scalar f(const Scalar &) const
Return the constant value.
static constexpr bool isDValid
df is defined and valid on the definition interval
_Scalar Scalar
Scalar type defined outside the class.
void setValue(const Scalar &_value)
Set the returned value.
ConstantWeightKernel(const Scalar &_value=Scalar(1.))
Default constructor that could be used to set the returned value.
Non-compact Gaussian WeightKernel.
static constexpr bool isCompact
The kernel is not compact and can be evaluated outside of the scale bounds.
static constexpr bool isDDValid
ddf is defined and valid on the definition interval
Scalar ddf(const Scalar &_x) const
Defines the Gaussian weighting function second order derivative .
Scalar f(const Scalar &_x) const
Defines the Gaussian weighting function .
Scalar df(const Scalar &_x) const
Defines the Gaussian weighting function first order derivative .
static constexpr bool isDValid
df is defined and valid on the definition interval
_Scalar Scalar
Scalar type defined outside the class.
Compact generalised version of SmoothWeightKernel with arbitrary degrees : .
static constexpr bool isDValid
df is defined and valid on the definition interval
Scalar df(const Scalar &_x) const
Defines the smooth first order weighting function .
static constexpr bool isCompact
The kernel is compact and shall not be evaluated outside of the scale bounds.
_Scalar Scalar
Scalar type defined outside the class.
Scalar ddf(const Scalar &_x) const
Defines the smooth second order weighting function .
static constexpr bool isDDValid
ddf is defined and valid on the definition interval
Scalar f(const Scalar &_x) const
Defines the smooth weighting function .
Compact singular WeightKernel defined in .
Scalar ddf(const Scalar &_x) const
Defines the Singular second order weighting function .
static constexpr bool isDDValid
ddf is defined and valid on the definition interval
Scalar df(const Scalar &_x) const
Defines the Singular first order weighting function .
Scalar f(const Scalar &_x) const
Defines the Singular weighting function .
_Scalar Scalar
Scalar type defined outside the class.
static constexpr bool isCompact
The kernel is compact and shall not be evaluated outside of the scale bounds.
static constexpr bool isDValid
df is defined and valid on the definition interval
Compact smooth WeightKernel of 2nd degree, defined in Special case of PolynomialSmoothWeightKernel<S...
Scalar df(const Scalar &_x) const
Defines the smooth first order weighting function .
Scalar f(const Scalar &_x) const
Defines the smooth weighting function .
static constexpr bool isDValid
df is defined and valid on the definition interval
static constexpr bool isCompact
The kernel is compact and shall not be evaluated outside of the scale bounds.
static constexpr bool isDDValid
ddf is defined and valid on the definition interval
_Scalar Scalar
Scalar type defined outside the class.
Scalar ddf(const Scalar &_x) const
Defines the smooth second order weighting function .
Compact Wendland WeightKernel defined in .
static constexpr bool isDValid
df is defined and valid on the definition interval
_Scalar Scalar
Scalar type defined outside the class.
static constexpr bool isDDValid
ddf is defined and valid on the definition interval
Scalar df(const Scalar &_x) const
Defines the Wendland first order weighting function .
Scalar ddf(const Scalar &_x) const
Defines the Wendland second order weighting function .
static constexpr bool isCompact
The kernel is compact and shall not be evaluated outside of the scale bounds.
Scalar f(const Scalar &_x) const
Defines the Wendland weighting function .
This Source Code Form is subject to the terms of the Mozilla Public License, v.