All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions
o2scl::interp_akima_peri< vec_t, vec2_t > Class Template Reference

Akima spline interpolation with periodic boundary conditions (GSL) More...

Detailed Description

template<class vec_t, class vec2_t = vec_t>
class o2scl::interp_akima_peri< vec_t, vec2_t >

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

Definition at line 945 of file interp.h.

#include <interp.h>

Inheritance diagram for o2scl::interp_akima_peri< vec_t, vec2_t >:
o2scl::interp_akima< vec_t, vec2_t > o2scl::interp_base< vec_t, vec2_t >

Public Types

typedef
boost::numeric::ublas::vector
< double > 
ubvector
 
typedef
boost::numeric::ublas::vector_slice
< ubvector
ubvector_slice
 
typedef
boost::numeric::ublas::vector_range
< ubvector
ubvector_range
 
typedef
boost::numeric::ublas::slice 
slice
 
typedef
boost::numeric::ublas::range 
range
 
- Public Types inherited from o2scl::interp_akima< vec_t, vec2_t >
typedef
boost::numeric::ublas::vector
< double > 
ubvector
 
typedef
boost::numeric::ublas::vector_slice
< ubvector
ubvector_slice
 
typedef
boost::numeric::ublas::vector_range
< ubvector
ubvector_range
 
typedef
boost::numeric::ublas::slice 
slice
 
typedef
boost::numeric::ublas::range 
range
 

Public Member Functions

virtual const char * type () const
 Return the type, "interp_akima_peri".
 
virtual void set (size_t size, const vec_t &xa, const vec2_t &ya)
 Initialize interpolation routine.
 
- Public Member Functions inherited from o2scl::interp_akima< vec_t, vec2_t >
 interp_akima ()
 Create a base interpolation object with or without periodic boundary conditions.
 
virtual double eval (double x0) const
 Give the value of the function $ y(x=x_0) $ .
 
virtual double deriv (double x0) const
 Give the value of the derivative $ y^{\prime}(x=x_0) $ .
 
virtual double deriv2 (double x0) const
 Give the value of the second derivative $ y^{\prime \prime}(x=x_0) $ .
 
virtual double integ (double aa, double bb) const
 Give the value of the integral $ \int_a^{b}y(x)~dx $ .
 
- Public Member Functions inherited from o2scl::interp_base< vec_t, vec2_t >
virtual double operator() (double x0) const
 Give the value of the function $ y(x=x_0) $ .
 

Private Member Functions

 interp_akima_peri (const interp_akima_peri< vec_t, vec2_t > &)
 
interp_akima_peri< vec_t,
vec2_t > & 
operator= (const interp_akima_peri< vec_t, vec2_t > &)
 

Additional Inherited Members

- Data Fields inherited from o2scl::interp_base< vec_t, vec2_t >
size_t min_size
 The minimum size of the vectors to interpolate between. More...
 
- Protected Member Functions inherited from o2scl::interp_akima< vec_t, vec2_t >
void akima_calc (const vec_t &x_array, size_t size, ubvector &umx)
 For initializing the interpolation.
 
- Protected Member Functions inherited from o2scl::interp_base< vec_t, vec2_t >
double integ_eval (double ai, double bi, double ci, double di, double xi, double a, double b) const
 An internal function to assist in computing the integral for both the cspline and Akima types.
 
- Protected Attributes inherited from o2scl::interp_akima< vec_t, vec2_t >
ubvector b
 
ubvector c
 
ubvector d
 
ubvector um
 
- Protected Attributes inherited from o2scl::interp_base< vec_t, vec2_t >
search_vec< const vec_t > svx
 To perform binary searches. More...
 
const vec_t * px
 Independent vector.
 
const vec2_t * py
 Dependent vector.
 
size_t sz
 Vector size.
 

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).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..