TMB Documentation
v1.9.11
|
Spline Interpolation. More...
#include <splines.hpp>
Public Member Functions | |
Type | operator() (const Type &x_) |
Evaluate spline - scalar argument case. | |
vector< Type > | operator() (const vector< Type > &x) |
Evaluate spline - vector argument case. | |
splinefun (const vector< Type > &x_, const vector< Type > &y_, int method_=3) | |
Construct spline function object. More... | |
Spline Interpolation.
R's spline function wrapped into template class that can be used with TMB.
Definition at line 59 of file splines.hpp.
|
inline |
Construct spline function object.
x_ | x values values |
y_ | y values - same length as x. |
method | Integer determining the spline type:
|
Definition at line 137 of file splines.hpp.