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

Class param_type

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

Synopsis

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

class param_type {
public:
  // types
  typedef chi_squared_distribution distribution_type;
  // construct/copy/destruct
  explicit param_type(RealType = 1);
  // public member functions
  RealType n() 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 > &, 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();

    Создать объект param_type.nТребуется: t>=0 &&0 <= p<= 1

param_type public member functions

  1. RealType n() const;

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

param_type friend functions

  1. template CharT,typenameTraitsBasic_ostream>> >операторBasic_ostream<>constparam_typeПараметры распределения std::ostream. 

  2. template CharT,typenameTraitsstd,CharT> > операторbasic_istream<,  >>param_type ;2>Параметры распределения от std::istream. 

  3. friend boolоператорconstparam_type , constparam_type, param_type& rhs;

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

  4. friendboolоператор!=констпарам_тип,констпарам_тип,парам_тип&рхс;

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


PrevUpHomeNext

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 22:01:37/0.0084350109100342/1