Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template modified_midpoint

Boost , Chapter 1. Boost.Numeric.Odeint , Header <boost/numeric/odeint/stepper/modified_midpoint.hpp>

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

Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template modified_midpoint

boost::numeric::odeint::modified_midpoint

Synopsis

// In header: <boost/numeric/odeint/stepper/modified_midpoint.hpp>
template<typename State, typename Value = double, typename Deriv = State,
         typename Time = Value,
         typename Algebra = typename algebra_dispatcher< State >::algebra_type,
         typename Operations = typename operations_dispatcher< State >::operations_type,
         typename Resizer = initially_resizer>
class modified_midpoint : public explicit_stepper_base {
public:
  // types
  typedef explicit_stepper_base< modified_midpoint< State, Value, Deriv, Time, Algebra, Operations, Resizer >, 2, State, Value, Deriv, Time, Algebra, Operations, Resizer > stepper_base_type;
  typedef stepper_base_type::state_type                                                                                                                                     state_type;
  typedef stepper_base_type::wrapped_state_type                                                                                                                             wrapped_state_type;
  typedef stepper_base_type::value_type                                                                                                                                     value_type;
  typedef stepper_base_type::deriv_type                                                                                                                                     deriv_type;
  typedef stepper_base_type::wrapped_deriv_type                                                                                                                             wrapped_deriv_type;
  typedef stepper_base_type::time_type                                                                                                                                      time_type;
  typedef stepper_base_type::algebra_type                                                                                                                                   algebra_type;
  typedef stepper_base_type::operations_type                                                                                                                                operations_type;
  typedef stepper_base_type::resizer_type                                                                                                                                   resizer_type;
  typedef stepper_base_type::stepper_type                                                                                                                                   stepper_type;
  // construct/copy/destruct
  modified_midpoint(unsigned short = 2, const algebra_type & = algebra_type());
  // public member functions
  template<typename System, typename StateIn, typename DerivIn,
           typename StateOut>
    void do_step_impl(System, const StateIn &, const DerivIn &, time_type,
                      StateOut &, time_type);
  void set_steps(unsigned short);
  unsigned short steps(void) const;
  template<typename StateIn> void adjust_size(const StateIn &);
  // private member functions
  template<typename StateIn> bool resize_impl(const StateIn &);
};

Description

Реализация модифицированного метода средней точки с настраиваемым числом промежуточных стадий. Этот класс используется алгоритмом Булирша-Стоера и не предназначен для непосредственного использования.

modified_midpoint public construct/copy/destruct

  1. <
    modified_midpoint(unsignedshortsteps=2,
                     constalgebra_type&algebra=algebra_type());
    >

modified_midpoint public member functions

  1. <
    template<typenameSystem,typenameStateIn,typenameDerivIn,
            typenameStateOut>
     voiddo_step_impl(Systemsystem,constStateIn&in,constDerivIn&dxdt,
                       time_typet,StateOut&out,time_typedt);
    >
  2. <
    voidset_steps(unsignedshortsteps);
    >
  3. <
    unsignedshortsteps(void)const;
    >
  4. <
    template<typenameStateIn>voidadjust_size(constStateIn&x);
    >

modified_midpoint private member functions

  1. <
    template<typenameStateIn>boolresize_impl(constStateIn&x);
    >

PrevUpHomeNext

Статья Class template modified_midpoint раздела Chapter 1. Boost.Numeric.Odeint Header <boost/numeric/odeint/stepper/modified_midpoint.hpp> может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Header <boost/numeric/odeint/stepper/modified_midpoint.hpp> ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-07-05 04:17:02/0.0037829875946045/0