#include <vector>
#include <memory>
#include <cmath>
#include <mia/core/defines.hh>
#include <mia/core/dictmap.hh>
#include <mia/core/factory.hh>
#include <mia/core/product_base.hh>
Go to the source code of this file.
Data Structures | |
class | CSplineKernel |
Base class for all spline based interpolation kernels. More... | |
struct | CSplineKernel::SCache |
Typedefs | |
typedef TFactory< CSplineKernel > | CSplineKernelPlugin |
base plugin for spline kernels More... | |
typedef THandlerSingleton< TFactoryPluginHandler< CSplineKernelPlugin > > | CSplineKernelPluginHandler |
typedef std::shared_ptr< CSplineKernel > | PSplineKernel |
Functions | |
FACTORY_TRAIT (CSplineKernelPluginHandler) | |
double EXPORT_CORE | integrate2 (const CSplineKernel &spline, double s1, double s2, int d1, int d2, double n, double x0, double L) |
PSplineKernel | produce_spline_kernel (const std::string &descr) |
typedef TFactory<CSplineKernel> CSplineKernelPlugin |
base plugin for spline kernels
Definition at line 293 of file splinekernel.hh.
FACTORY_TRAIT | ( | CSplineKernelPluginHandler | ) |
Referenced by produce_spline_kernel().
double EXPORT_CORE integrate2 | ( | const CSplineKernel & | spline, |
double | s1, | ||
double | s2, | ||
int | d1, | ||
int | d2, | ||
double | n, | ||
double | x0, | ||
double | L | ||
) |
Approximate integration of a B-Spline kernel product
\[ \int_{x_0}^L \frac{\partial^{d_1}}{\partial x^{d_1}} \beta(x - s_1) \frac{\partial^{d_2}}{\partial x^{d_2}} \beta(x - s_2) dx \]
using the Simpson integration.
spline | kernel \(\beta\) |
s1 | |
s2 | |
d1 | |
d2 | |
n | number of integration intervals |
x0 | start of interval |
L | end of interval |
Referenced by CSplineKernel::size().