Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template make_times_time_iterator_begin

boost::numeric::odeint::make_times_time_iterator_begin — Factory function for times_time_iterator. Constructs a begin iterator.

Synopsis

// In header: <boost/numeric/odeint/iterator/times_time_iterator.hpp>


template<typename Stepper, typename System, typename State, 
         typename TimeIterator> 
  times_time_iterator< Stepper, System, State, TimeIterator > 
  make_times_time_iterator_begin(Stepper stepper, System system, State & x, 
                                 TimeIterator t_start, TimeIterator t_end, 
                                 typename traits::time_type< Stepper >::type dt);

Description

Parameters:

dt

The initial time step.

stepper

The stepper to use during the iteration.

system

The system function (ODE) to solve.

t_end

End iterator of the sequence of evaluation time points.

t_start

Begin iterator of the sequence of evaluation time points.

x

The initial state. const_step_iterator stores a reference of s and changes its value during the iteration.

Returns:

The times_time iterator.


PrevUpHomeNext