#include <Polyharmonic_fwd.hpp>
Polyharmonic Radial Basis Function of odd order.
Specifically, this class represents a function \( f(r^2) = r^k, k = 1, 3, \ldots\) as a function of squared distance with exponent \(k\). This class satisfies the Radial Basis Function concept.
k | Order of the RBF. Must be odd. |
Usage example:
Definition at line 32 of file Polyharmonic_fwd.hpp.
Public Member Functions | |
Polyharmonic () | |
Default constructor. Only applicable when order given as template argument. More... | |
Polyharmonic (int order) | |
If template argument was -1, the order is accepted as runtime parameter. More... | |
int | order () const |
Get order of the RBF. More... | |
scalar_t | operator() (scalar_t r2, int derivative) const |
Evaluate derivative of this RBF wrt. More... | |
template<int dimension> | |
scalar_t | operator() (scalar_t r2, Lap< dimension > lap) const |
Evaluate Laplacian of this RBF wrt. More... | |
scalar_t | operator() (scalar_t r2) const |
Evaluate this RBF given squared radial distance. More... | |
Public Types | |
typedef scal_t | scalar_t |
Scalar type used for computations. More... | |
Friends | |
template<typename S , int K> | |
std::ostream & | operator<< (std::ostream &os, const Polyharmonic< S, K > &m) |
Output basic information about given Gaussian RBF. More... | |
Private Attributes | |
const int | order_ |
Exponent of the RBF. More... | |
mm::Polyharmonic< scal_t, k >::Polyharmonic |
Default constructor. Only applicable when order given as template argument.
Definition at line 15 of file Polyharmonic.hpp.
mm::Polyharmonic< scal_t, k >::Polyharmonic | ( | int | order | ) |
If template argument was -1, the order is accepted as runtime parameter.
Definition at line 20 of file Polyharmonic.hpp.
|
inline |
Evaluate this RBF given squared radial distance.
Definition at line 67 of file Polyharmonic_fwd.hpp.
|
inline |
Evaluate derivative of this RBF wrt.
r2
at given point.
r2 | Squared radial distance. |
derivative | Order of derivative to evaluate. |
Assertion | fails if derivative order is negative. |
Definition at line 25 of file Polyharmonic.hpp.
|
inline |
Evaluate Laplacian of this RBF wrt.
r
at given point.
r2 | Squared radial distance. |
lap | Laplacian operator object. |
|
inline |
Get order of the RBF.
Definition at line 47 of file Polyharmonic_fwd.hpp.
|
friend |
Output basic information about given Gaussian RBF.
Definition at line 47 of file Polyharmonic.hpp.
|
private |
Exponent of the RBF.
Definition at line 38 of file Polyharmonic_fwd.hpp.