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

Class param_type

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Class template lognormal_distribution

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

PrevUpHomeNext

Class param_type

boost::random::lognormal_distribution::param_type

Synopsis

// In header: <boost/random/lognormal_distribution.hpp>

class param_type {
public:
  // types
  typedef lognormal_distribution distribution_type;
  // construct/copy/destruct
  explicit param_type(RealType = 0.0, RealType = 1.0);
  // public member functions
  RealType m() const;
  RealType s() const;
  // friend functions
  template<typename CharT, typename Traits> 
    friend std::basic_ostream< CharT, Traits > & 
    operator<<(std::basic_ostream< CharT, Traits > &, const param_type &);
  template<typename CharT, typename Traits> 
    friend std::basic_istream< CharT, Traits > & 
    operator>>(std::basic_istream< CharT, Traits > &, const param_type &);
  friend bool operator==(const param_type &, const param_type &);
  friend bool operator!=(const param_type &, const param_type &);
};

Description

param_type public construct/copy/destruct

  1. <
    explicitparam_type(RealTypem=0.0,RealTypes=1.0);
    >

    Построение параметров<lognormal_distribution>.

param_type public member functions

  1. <
    RealTypem()const;
    >

    Возвращает «м» параметр распределения.

  2. <
    RealTypes()const;
    >

    Возвращает параметр «s» распределения.

param_type friend functions

  1. <
    template<typenameCharT,typenameTraits>
     friendstd::basic_ostream<CharT,Traits>&
     operator<<(std::basic_ostream<CharT,Traits>&os,
                constparam_type&param);
    >

    Записывает параметры в std::ostream.

  2. <
    template<typenameCharT,typenameTraits>
     friendstd::basic_istream<CharT,Traits>&
     operator>>(std::basic_istream<CharT,Traits>&is,
                constparam_type&param);
    >

    Считывает параметры из std::istream.

  3. <
    friendbooloperator==(constparam_type&lhs,constparam_type&rhs);
    >

    Возвращается истинно, если два набора параметров равны.

  4. <
    friendbooloperator!=(constparam_type&lhs,constparam_type&rhs);
    >

    Возвращается истинно, если два набора параметров различны.


PrevUpHomeNext

Статья Class param_type раздела The Boost C++ Libraries BoostBook Documentation Subset Class template lognormal_distribution может быть полезна для разработчиков на c++ и boost.




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



:: Главная :: Class template lognormal_distribution ::


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 19:18:16/0.0083839893341064/1