#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.
◆ CSplineKernelPlugin
◆ FACTORY_TRAIT()
◆ integrate2()
| 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.
- Parameters
-
| spline | kernel \(\beta\) |
| s1 | |
| s2 | |
| d1 | |
| d2 | |
| n | number of integration intervals |
| x0 | start of interval |
| L | end of interval |
- Returns
- value of integral