18#ifndef itkSpecialFunctions_h
19#define itkSpecialFunctions_h
22#include ITK_EIGEN_UNSUPPORTED(SpecialFunctions)
31template <
typename TReal>
35 static_assert(std::is_floating_point_v<TReal>,
"IncompleteGammaP requires a floating-point type");
36 return Eigen::numext::igamma(a, x);
40template <
typename TReal>
44 static_assert(std::is_floating_point_v<TReal>,
"RegularizedIncompleteBeta requires a floating-point type");
45 return Eigen::numext::betainc(a, b, x);
TReal IncompleteGammaP(TReal a, TReal x)
Regularized lower incomplete gamma P(a, x) = γ(a, x) / Γ(a).
TReal RegularizedIncompleteBeta(TReal a, TReal b, TReal x)
Regularized incomplete beta I_x(a, b).
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....