|
Medusa
1.1
Coordinate Free Mehless Method implementation
|
|
Go to the documentation of this file. 1 #ifndef MEDUSA_BITS_APPROXIMATIONS_POLYHARMONIC_FWD_HPP_
2 #define MEDUSA_BITS_APPROXIMATIONS_POLYHARMONIC_FWD_HPP_
31 template <
typename scal_t,
int k = -1>
34 static_assert((k > 0 && k % 2 == 1) || k == -1,
"k must be odd or -1 (Dynamic)");
63 template <
int dimension>
70 template <
typename S,
int K>
76 #endif // MEDUSA_BITS_APPROXIMATIONS_POLYHARMONIC_FWD_HPP_
const int order_
Exponent of the RBF.
Root namespace for the whole library.
Scalar scalar_t
Type of the elements, alias of Scalar.
static const shape_flags lap
Indicates to calculate laplace shapes.
Polyharmonic()
Default constructor. Only applicable when order given as template argument.
double ipow(double base)
Compile time integer power, returns base raised to power exponent.
int order() const
Get order of the RBF.
friend std::ostream & operator<<(std::ostream &os, const Polyharmonic< S, K > &m)
Output basic information about given Gaussian RBF.
Polyharmonic Radial Basis Function of odd order.
Represents the Laplacian operator.
scalar_t operator()(scalar_t r2, int derivative) const
Evaluate derivative of this RBF wrt.
scalar_t operator()(scalar_t r2) const
Evaluate this RBF given squared radial distance.
scal_t scalar_t
Scalar type used for computations.