Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
include
Math
LagrangeInterpolant.h
Go to the documentation of this file.
1
/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2
*
3
*
4
* MoDELib is distributed without any warranty under the
5
* GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6
*/
7
8
#ifndef model_LagrangeInterpolant_H_
9
#define model_LagrangeInterpolant_H_
10
11
#include <
InterpolantBase.h
>
12
13
namespace
model
14
{
15
16
class
LagrangeInterpolant
:
public
InterpolantBase
17
{
18
double
p
(
const
InterpolantBase::const_iterator&,
const
double
&
x
)
const
;
19
double
lagrangePoly(
const
double
&
x
)
const
;
20
double
_f(
const
double
&
x
)
const override
;
21
22
public
:
23
24
LagrangeInterpolant
(
const
InterpolantBase::MatrixType
& data,
const
ExtrapolationMethod
& extrap=
ExtrapolationMethod
());
25
LagrangeInterpolant
(
const
InterpolantBase::MapType
& data,
const
ExtrapolationMethod
& extrap=
ExtrapolationMethod
());
26
27
};
28
29
}
30
#endif
InterpolantBase.h
model::InterpolantBase::MatrixType
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixType
Definition
InterpolantBase.h:32
model::InterpolantBase::InterpolantBase
InterpolantBase(const MapType &data, const ExtrapolationMethod &extrap)
Definition
InterpolantBase.cpp:32
model::InterpolantBase::MapType
std::map< double, double > MapType
Definition
InterpolantBase.h:31
model::LagrangeInterpolant::LagrangeInterpolant
LagrangeInterpolant(const InterpolantBase::MatrixType &data, const ExtrapolationMethod &extrap=ExtrapolationMethod())
Definition
LagrangeInterpolant.cpp:17
x
x
Definition
int_R.m:12
model
Definition
DD_converter.dox:2
model::ExtrapolationMethod
Definition
InterpolantBase.h:18
p
vertex p[3]
Definition
triangle.cpp:15352
Generated by
1.15.0