![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
Class param_typeBoost , The Boost C++ Libraries BoostBook Documentation Subset , Class template hyperexponential_distribution
|
Параметры: | |
| |
| Итератор к началу диапазона неотрицательных реальных элементов, представляющих фазовые вероятности; если элементы не суммируют до 1, они нормализуются. |
| Итератор до окончания диапазона неотрицательных реальных элементов, представляющих фазовые вероятности; если элементы не суммируют до 1, они нормализуются. |
| Итератор к началу диапазона неотрицательных реальных элементов, представляющих ставки. |
| Итератор до окончания диапазона неотрицательных реальных элементов, представляющих ставки. |
Параметры шаблона:
ProbIterT
ProbIterT
Must соответствует требованиям InputIterator
концепции (ISO,2014,sec. 24.2.3 [input.iterators]).
RateIterT
Must соответствует требованиям InputIterator
концепции (ISO,2014,sec. 24.2.3 [input.iterators])
template<typename ProbRangeT, typename RateRangeT> param_type(ProbRangeT const & prob_range, RateRangeT const & rate_range, typename boost::disable_if_c< boost::has_pre_increment< ProbRangeT >::value||boost::has_pre_increment< RateRangeT >::value >::type * = 0);
Constructs a
from the phase probability vector and rate vector parameters of the distribution.param_type
The phase probability vector parameter is given by the range defined by prob_range, and the rate vector parameter is given by the range defined by rate_range.
![]() | Note |
---|---|
The final |
Параметры: |
| ||||
Параметры шаблона: |
template<typename RateIterT> param_type(RateIterT rate_first, RateIterT rate_last, typename boost::enable_if_c< boost::has_pre_increment< RateIterT >::value >::type * = 0);
Constructs a
from the rate vector parameter of the distribution and with equal phase probabilities.param_type
The rate vector parameter is given by the range defined by [rate_first, rate_last) iterator pair, and the phase probability vector parameter is set to the equal phase probabilities (i.e., to a vector of the same length of the rate vector and with each element set to
).
![]() | Note |
---|---|
The final |
References:
ISO, ISO/IEC 14882-2014: Information technology - Programming languages - C++, 2014
Параметры: |
| ||||
Параметры шаблона: |
|
template<typename RateRangeT> param_type(RateRangeT const & rate_range);
Constructs a
from the "rates" parameters of the distribution and with equal phase probabilities.param_type
The rate vector parameter is given by the range defined by rate_range, and the phase probability vector parameter is set to the equal phase probabilities (i.e., to a vector of the same length of the rate vector and with each element set to
).
Параметры: |
| ||
Параметры шаблона: |
|
param_type(std::initializer_list< RealT > l1, std::initializer_list< RealT > l2);
Constructs a
from the phase probability vector and rate vector parameters of the distribution.param_type
The phase probability vector parameter is given by the brace-init-list (ISO,2014,sec. 8.5.4 [dcl.init.list]) defined by l1, and the rate vector parameter is given by the brace-init-list (ISO,2014,sec. 8.5.4 [dcl.init.list]) defined by l2.
References:
ISO, ISO/IEC 14882-2014: Information technology - Programming languages - C++, 2014
Параметры: | |
| |
| Список инициализаторов для инициализации вектора вероятностей фазы. |
| Инициализаторский список для инициализации вектора скорости. |
Строит
от rate вектор параметр распределения и с равными фазовыми вероятностями.param_type
The rate вектор параметр brace-init-list (ISO,2014,sec. 8.5.4 [dcl.init.list]), определяемый l1
Ссылки: ISO, ISO/IEC 14882-2014: Информационные технологии - Языки программирования - C++, 2014 Constructs a The rate vector parameter is given by the brace-init-list (ISO,2014,sec. 8.5.4 [dcl.init.list]) defined by l1, and the phase probability vector parameter is set to the equal phase probabilities (i.e., to a vector of the same length
References: ISO, ISO/IEC 14882-2014: Information technology - Programming languages - C++, 2014 Параметры: Инициализаторский список для инициализации вектора скорости. Gets the phase probability vector parameter of the distribtuion. The returned probabilities are the normalized version of the ones passed at construction time. Returns: The phase probability vector parameter of the distribution. Gets the rate vector parameter of the distribtuion. Returns: The rate vector parameter of the distribution. Writes a Reads a Reads a Returns true if the two sets of parameters are the same. Правда возвратится, если два набора параметров разные. Returns true if the two sets of parameters are the different. Статья Class param_type раздела The Boost C++ Libraries BoostBook Documentation Subset Class template hyperexponential_distribution может быть полезна для разработчиков на c++ и boost. Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта. :: Главная :: Class template hyperexponential_distribution :: реклама
from the rate vector parameter of the distribution and with equal phase probabilities.param_type
of the rate vector and with each element set to
).
l1
param_type
public member functionsstd::vector< RealT > probabilities() const;
Note std::vector< RealT > rates() const;
param_type
friend functionstemplate<typename CharT, typename Traits>
friend std::basic_ostream< CharT, Traits > &
operator<<(std::basic_ostream< CharT, Traits > & os,
const param_type & param);
to a param_type
std::ostream
.
от param_type
std::istream
.
from a param_type
std::istream
. friend bool operator==(const param_type & lhs, const param_type & rhs);