ADMB Documentation  11.1.2535
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
vspline.cpp File Reference

(* $Id: vspline.cpp 1708 2014-02-28 21:43:41Z johnoel $)

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.
dvar_vector spline (const dvector &_x, const dvar_vector &_y, double yp1, double ypn)
 Cubic spline interpolation.
dvar_vector spline (const dvector &_x, const dvar_vector &_y, dvariable yp1, dvariable ypn)
 Cubic spline interpolation.
dvar_vector spline (const dvector &_x, const dvar_vector &_y, dvariable yp1, double ypn)
 Cubic spline interpolation.
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.
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.
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.
dvariable splint (const dvector &_xa, const dvar_vector &_ya, const dvar_vector &_y2a, double x)
 Cubic spline interpolation.
dvariable splint (const dvector &_xa, const dvar_vector &_ya, const dvar_vector &_y2a, const prevariable &_x)
 Cubic spline interpolation.

Detailed Description

Contains routines for cubic spline interpolation for variable types.

Definition in file vspline.cpp.