22 for (
int i=mmin;i<=mmax;i++)
36 for (
int i=mmin;i<=mmax;i++)
46 cerr <<
"index out of range in function"
47 " vcubic_spline_function & operator () (int i)"
59 dvar_matrix tmp(mmin,mmax,v.indexmin(),v.indexmax());
60 for (
int i=mmin;i<=mmax;i++)
72 for (
int i=mmin;i<=mmax;i++)
142 shift_S(i,j)=
splin2(x,y,knots,y2,in(j),im(i));
154 S(i,j)=shift_S(ii,jj);
281 y2a(j)=
spline(x1a,ya(j),1.0e30,1.e30);
290 dvar_matrix& _y2a,
const double& x1,
const double& x2)
328 yytmp[j]=
splint(x1a,ya[j],y2a[j],x2);
330 ytmp=
spline(x2a,yytmp,1.0e30,1.0e30);
331 y=
splint(x2a,yytmp,ytmp,x1);
void RETURN_ARRAYS_DECREMENT(void)
Decrements gradient_structure::RETURN_ARRAYS_PTR.
Vector of double precision numbers.
void fill_seqadd(double, double)
Fills dvector elements with values starting from base and incremented by offset.
double splint(const dvector &xa, const dvector &ya, const dvector &y2a, double x)
dvar_matrix splie2(const dvector &_x1a, const dvector &_x2a, const dvar_matrix &_ya)
vcubic_spline_function_array(int, int, const dvector &x, const dvar_matrix &_y)
dvar_vector cubic_spline(const dvar_vector &spline_nodes, const dvector &ip)
A Wrapper for the vcubic_spline_function.
vcubic_spline_function & operator()(int i)
prnstream & endl(prnstream &)
vcubic_spline_function ** ptr
dvector spline(const dvector &x, const dvector &y, double yp1, double ypn)
Library of statistic functions.
~vcubic_spline_function_array()
Class definition of matrix with derivitive information .
unsigned int size_count(const dvector &x)
Returns total size of elements in vector x.
void bicubic_spline(const dvector &x, const dvector &y, dvar_matrix &knots, dvar_matrix &S)
void RETURN_ARRAYS_INCREMENT(void)
Increments gradient_structure::RETURN_ARRAYS_PTR.
Description not yet available.
Fundamental data type for reverse mode automatic differentiation.
dvariable splin2(const dvector &_x1a, const dvector &_x2a, const dvar_matrix _ya, dvar_matrix &_y2a, const double &x1, const double &x2)