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

Class param_type

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Class template cauchy_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::cauchy_distribution::param_type

Synopsis

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

class param_type {
public:
  // types
  typedef cauchy_distribution distribution_type;
  // construct/copy/destruct
  explicit param_type(RealType = 0.0, RealType = 1.0);
  // public member functions
  RealType median() const;
  RealType sigma() const;
  RealType a() const;
  RealType b() 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. явноparam_type(RealType)Медиана=0.0,RealTypeСигма=1.0;

    Конструирует параметры распределения коши.

param_type public member functions

  1. Реальный типмедианаконст;

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

  2. RealTypeсигмаconst;

    возвращает сигма-параметр распределения.

  3. RealTypeaconst;

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

  4. RealTypebconst;

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

param_type friend functions

  1. шаблонТиповое имяЧарТдругЧарТ[

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

  2. шаблон<имя типаимя типадругstdbasic_istream<] ::CharTCharTCharTCharTconstparam_type

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

  3. другбоолоператор==констпарам_тип&амп;лхс,констпарам_типпарам_тип&амп;рхс;

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

  4. другboolоператор!=constparam_type&lhs,constparam_type&rhs]

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


PrevUpHomeNext

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-07-05 12:08:39/0.0035018920898438/0