Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::odeint::algebra_stepper_base< Algebra, Operations > Class Template Reference

Base class for all steppers with algebra and operations. More...

#include <algebra_stepper_base.hpp>

Inheritance diagram for boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >:
Collaboration diagram for boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >:

Public Types

typedef Algebra algebra_type
 
typedef Operations operations_type
 

Public Member Functions

 algebra_stepper_base (const algebra_type &algebra=algebra_type())
 Constructs a algebra_stepper_base and creates the algebra. More...
 
algebra_typealgebra ()
 
const algebra_typealgebra () const
 

Protected Attributes

algebra_type m_algebra
 

Detailed Description

template<class Algebra, class Operations>
class boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >

Base class for all steppers with algebra and operations.

This class serves a base class for all steppers with algebra and operations. It holds the algebra and provides access to the algebra. The operations are not instantiated, since they are static classes inside the operations class.

Template Parameters
AlgebraThe type of the algebra. Must fulfill the Algebra Concept, at least partially to work with the stepper.
OperationsThe type of the operations. Must fulfill the Operations Concept, at least partially to work with the stepper.

Member Typedef Documentation

template<class Algebra, class Operations>
typedef Algebra boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >::algebra_type
template<class Algebra, class Operations>
typedef Operations boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >::operations_type

Constructor & Destructor Documentation

template<class Algebra, class Operations>
boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >::algebra_stepper_base ( const algebra_type algebra = algebra_type())
inline

Constructs a algebra_stepper_base and creates the algebra.

This constructor can be used as a default constructor if the algebra has a default constructor.

Parameters
algebraThe algebra_stepper_base stores and uses a copy of algebra.

Member Function Documentation

template<class Algebra, class Operations>
algebra_type & boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >::algebra ( )
inline
Returns
A reference to the algebra which is held by this class.
template<class Algebra, class Operations>
const algebra_type & boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >::algebra ( ) const
inline
Returns
A const reference to the algebra which is held by this class.

Member Data Documentation

template<class Algebra, class Operations>
algebra_type boost::numeric::odeint::algebra_stepper_base< Algebra, Operations >::m_algebra
protected

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