densities

std::piecewise_constant_distribution::intervals, densities

std::vector<RealType> intervals() const;
(1) (since C++11)
std::vector<RealType> densities() const;
(2) (since C++11)

Returns the distribution parameters.

1) Returns the list of boundaries of the intervals.
2) Returns the list of probability densities of the intervals.

Parameters

(none).

Return value

The distribution parameters:

1) The list of boundaries of the intervals.
2) The list of probability densities of the intervals.

Complexity

Constant.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/piecewise_constant_distribution/params

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部