piecewise_constant_distribution param_type 属性函数intervals()将返回vector<result_type>以及分布的存储区间集。 属性函数densities()将返回vector<result_type>以及每个区间集的存储密度,根据构造函数参数中提供的权重计算存储密度。 属性成员param()将设置或返回param_type存储的分布参数包。
构造分发点对应。 piecewise_constant_distribution(); template<class InIt1, class InIt2> piecewise_constant_distribution(InIt1 first1, InIt1 last1, InIt2 first2); template<class Fn> piecewise_constant_distribution(size_t count, double low, double high, Fn func); explicit piecewise_constant_distrib...
Constructs the distribution.C++ Копиране // default constructor piecewise_constant_distribution(); // constructs using a range of intervals, [firstI, lastI), with // matching weights starting at firstW template <class InputIteratorI, class InputIteratorW> piecewise_constant_distribution...
struct param_type { typedef piecewise_constant_distribution<RealType> distribution_type; param_type(); template<class InIt1, class InIt2> param_type(InIt1 first1, InIt1 last1, InIt2 first2); template<class Fn> param_type(size_t count, double low, double high, Fn func); std::vector<...
(InIt1 first1, InIt1 last1, InIt2 first2); template<class Fn> piecewise_constant_distribution(size_t count, double low, double high, Fn func); explicit piecewise_constant_distribution(const param_type& par0); std::vector<double> densities() const; std::vector<RealType> intervals() const...
std::piecewise_constant_distributionproduces random floating-point numbers, which are uniformly distributed within each of the several subintervals[b i, b i+1), each with its own weightw i. The set of interval boundaries and the set of weights are the parameters of this distribution. ...
operators (std::piecewise_constant_distribution) operators (std::piecewise_linear_distribution) operators (std::piecewise_linear_distribution) operators (std::poisson_distribution) operators (std::poisson_distribution) operators (std::shuffle_order_engine) operators (std::shuffle_order_engine) operators ...
std::piecewise_constant_distribution::intervals std::piecewise_constant_distribution::intervals std::vector<RealType> intervals() const; (1) (since C++11) std::vector<RealType> densities() const; (2) (since C++11) 返回分布参数。 1%29返回间隔的边界列表。 2%29返回间隔的概率密度列表。 参数 %...
std::piecewise_constant_distribution<RealType>:: param_type param()const; (1)(C++11 起) voidparam(constparam_type¶ms); (2)(C++11 起) 管理关联的参数集。 1) 返回关联的参数集。 2) 设置关联的参数集为params。 参数 params-关联参数集的新内容...
M. A. LushnikovNauka/InterperiodicaFluid DynamicsG.L. Korolev and M.A. Lushnikov, “Study of Laminar Separation in the Vicinity of the Point of Piecewise-Constant Pressure Distribution over the Wall,” Fluid Dynamics 42 (6), 914 (2007)....