Public Member Functions | List of all members
o2scl::interp_array< n > Class Template Reference

A specialization of interp for C-style double arrays. More...

#include <interp.h>

Inheritance diagram for o2scl::interp_array< n >:
o2scl::interp< double[n]>

Public Member Functions

 interp_array (size_t interp_type)
 Create with base interpolation objects it and rit.
 
 interp_array ()
 Create an interpolator using the default base interpolation objects.
 
- Public Member Functions inherited from o2scl::interp< double[n]>
 interp (size_t interp_type=itp_cspline)
 Create with base interpolation object it.
 
virtual double eval (const double x0, size_t n, const double &x, const double &y)
 Give the value of the function $ y(x=x_0) $ .
 
virtual double deriv (const double x0, size_t n, const double &x, const double &y)
 Give the value of the derivative $ y^{\prime}(x=x_0) $ .
 
virtual double deriv2 (const double x0, size_t n, const double &x, const double &y)
 Give the value of the second derivative $ y^{\prime \prime}(x=x_0) $ .
 
virtual double integ (const double x1, const double x2, size_t n, const double &x, const double &y)
 Give the value of the integral $ \int_a^{b}y(x)~dx $ .
 
void set_type (size_t interp_type)
 Set base interpolation type.
 

Additional Inherited Members

- Protected Attributes inherited from o2scl::interp< double[n]>
interp_base< double, double > * itp
 Pointer to base interpolation object.
 

Detailed Description

template<size_t n>
class o2scl::interp_array< n >

See also the Interpolation section of the O2scl User's guide.

Definition at line 1869 of file interp.h.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).