Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
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
13namespace model
14{
15
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
26
27 };
28
29}
30#endif
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixType
InterpolantBase(const MapType &data, const ExtrapolationMethod &extrap)
std::map< double, double > MapType
LagrangeInterpolant(const InterpolantBase::MatrixType &data, const ExtrapolationMethod &extrap=ExtrapolationMethod())
x
Definition int_R.m:12
vertex p[3]