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

Class template student_t_distribution

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Reference

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 template student_t_distribution

boost::random::student_t_distribution

Synopsis

// In header: <boost/random/student_t_distribution.hpp>
template<typename RealType = double> 
class student_t_distribution {
public:
  // types
  typedef RealType result_type;
  typedef RealType input_type; 
  // member classes/structs/unions
  class param_type {
  public:
    // types
    typedef student_t_distribution distribution_type;
    // construct/copy/destruct
    explicit param_type(RealType = 1.0);
    // 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 > &, const param_type &);
    friend bool operator==(const param_type &, const param_type &);
    friend bool operator!=(const param_type &, const param_type &);
  };
  // construct/copy/destruct
  explicit student_t_distribution(RealType = 1.0);
  explicit student_t_distribution(const param_type &);
  // public member functions
  template<typename URNG> RealType operator()(URNG &);
  template<typename URNG> 
    RealType operator()(URNG &, const param_type &) const;
  RealType n() const;
  RealType min() const;
  RealType max() const;
  param_type param() const;
  void param(const param_type &);
  void reset();
  // friend functions
  template<typename CharT, typename Traits> 
    friend std::basic_ostream< CharT, Traits > & 
    operator<<(std::basic_ostream< CharT, Traits > &, 
               const student_t_distribution &);
  template<typename CharT, typename Traits> 
    friend std::basic_istream< CharT, Traits > & 
    operator>>(std::basic_istream< CharT, Traits > &, 
               const student_t_distribution &);
  friend bool operator==(const student_t_distribution &, 
                         const student_t_distribution &);
  friend bool operator!=(const student_t_distribution &, 
                         const student_t_distribution &);
};

Description

Распределение Студенческого t является реальным ценным распределением с одним параметром n, количеством градусов свободы.

Он имеет .

student_t_distribution public construct/copy/destruct

  1. explicit student_t_ Distribution(RealType n = 1.0>);

    Построить student_t_распределение с "n" градусов свободы

  2. explicit student_t_ Distribution(const param_type & param);

    Конструктирует student_t_распределение по своим параметрам.

student_t_distribution public member functions

  1. template<typename URNG> RealType оператор()(URNG & urng;

    Returns a random variate distributed согласно дистрибутиву.

  2. > ,>>>> >>>>> > >>> ,> >>>>>>>> парам_тип>>>>>>>>>>>

  3. RealType n() const;

  4. RealType min() const;

    Возвращает наименьшее значение, которое может произвести дистрибутив.

  5. RealType max() const;

    Returns the largest value that the distribution can produce.

  6. param_type param() const;

  7. void param(const param_type & param);

    Сетирует параметры распределения.

  8. void перезагрузка();

    Эффекты: последующее использование дистрибутива не зависит от значений, произведенных любым двигателем до ссылки на сброс.

student_t_distribution friend functions

  1. >> >>>>>2> >>>2> >>2>> >>>>2> > >>> >>>> >>>>> >>>>>>

  2. >>>>>>2>>>2>>>3>2>>3>2>>2>>2>>3>2>>>2>>2>2>>3>2>>3>>2>>>>3>>>>
  3. подруга bool оператор(const student_t_распределение & lhs, const >student_t_распределение& rhs)<233>> 

  4. подруга bool оператор!=(const student_t_распределение & lhs, const ><_t_распределение& rhs 


PrevUpHomeNext

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




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



:: Главная :: Reference ::


реклама


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

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