Namespaces
Variants
Views
Actions

std::piecewise_linear_distribution::intervals, densities

From cppreference.com
< cpp‎ | numeric‎ | random‎ | piecewise linear distribution
Revision as of 03:25, 5 June 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
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 at the boundaries of the intervals.

[edit] Parameters

(none)

[edit] Return value

The distribution parameters:

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

[edit] Complexity

Constant.