ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
vspline.cpp File Reference

(Last Changed on August 06, 2022 for git-revision 808780089317c67198079de06b64df009a4a6543.)

Contains routines for cubic spline interpolation for variable types. More...

#include <fvar.hpp>

Go to the source code of this file.

Functions

dvar_vector d3_np_fs (int n, const dvar_vector &_a, const dvar_vector &_b)
 factors and solves a D3 system. More...
 
dvar_vector spline (const dvector &_x, const dvar_vector &_y, double yp1, double ypn)
 Cubic spline interpolation. More...
 
dvar_vector spline (const dvector &_x, const dvar_vector &_y, dvariable yp1, dvariable ypn)
 Cubic spline interpolation. More...
 
dvar_vector spline (const dvector &_x, const dvar_vector &_y, dvariable yp1, double ypn)
 Cubic spline interpolation. More...
 
dvar_vector spline_cubic_set (int n, const dvector &t, const dvar_vector &y, int ibcbeg, dvariable ybcbeg, int ibcend, dvariable ybcend)
 Computes the second derivatives of a piecewise cubic spline. More...
 
dvariable spline_cubic_val (int n, const dvector &_t, double tval, const dvar_vector &_y, const dvar_vector &_ypp)
 Evaluates a piecewise cubic spline at a point. More...
 
dvariable spline_cubic_val2 (int n, const dvector &_t, const prevariable &tval, const dvar_vector &_y, const dvar_vector &_ypp)
 Evaluates a piecewise cubic spline at a point. More...
 
dvariable splint (const dvector &_xa, const dvar_vector &_ya, const dvar_vector &_y2a, double x)
 Cubic spline interpolation allows users to model natural cubic spline (2nd derivative of boundary nodes is set to zero) as an alternative of use of 1st derivative of boundary nodes. More...
 
dvariable splint (const dvector &_xa, const dvar_vector &_ya, const dvar_vector &_y2a, const prevariable &_x)
 Cubic spline interpolation. More...
 

Detailed Description

Contains routines for cubic spline interpolation for variable types.

Definition in file vspline.cpp.