39template <base::concepts::real_scalar Scalar, index_type L, index_type K>
50template <base::concepts::real_scalar Scalar, index_type L>
81 pow(
static_cast<scalar_type>(1) - distance_rate, L));
93template <base::concepts::real_scalar Scalar, index_type L>
128 pow(
static_cast<scalar_type>(1) - distance_rate, L + 1));
130 static constexpr auto first_order_term_coeff =
132 static constexpr auto constant_term =
static_cast<scalar_type>(1);
133 return scale_coeff * pow_value *
134 (first_order_term_coeff * distance_rate + constant_term);
146template <base::concepts::real_scalar Scalar, index_type L>
183 pow(
static_cast<scalar_type>(1) - distance_rate, L + 2));
185 static constexpr auto second_order_term_coeff =
187 static constexpr auto first_order_term_coeff =
189 static constexpr auto constant_term =
static_cast<scalar_type>(3);
190 return scale_coeff * pow_value *
191 (second_order_term_coeff * distance_rate * distance_rate +
192 first_order_term_coeff * distance_rate + constant_term);
static constexpr auto support_boundary() noexcept -> scalar_type
Get the boundary of the support of this CSRBF.
Scalar scalar_type
Type of scalars.
auto operator()(const scalar_type &distance_rate) const noexcept -> scalar_type
Calculate a function value of RBF.
auto operator()(const scalar_type &distance_rate) const noexcept -> scalar_type
Calculate a function value of RBF.
static constexpr auto support_boundary() noexcept -> scalar_type
Get the boundary of the support of this CSRBF.
Scalar scalar_type
Type of scalars.
static constexpr auto support_boundary() noexcept -> scalar_type
Get the boundary of the support of this CSRBF.
Scalar scalar_type
Type of scalars.
auto operator()(const scalar_type &distance_rate) const noexcept -> scalar_type
Calculate a function value of RBF.
Class of Wendland's Compactly Supported RBF wendland1995.
Definition of index_type type.
Definition of real_scalar concept.