File: extremevalue.yo

package info (click to toggle)
c%2B%2B-annotations 12.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,044 kB
  • sloc: cpp: 24,337; makefile: 1,517; ansic: 165; sh: 121; perl: 90
file content (38 lines) | stat: -rw-r--r-- 1,470 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
The ti(extreme_value_distribution<RealType = double>) is related to the
Weibull distribution and is used in statistical models where the variable of
interest is the minimum of many random factors, all of which can take positive
or negative values.

It has two parameters: a location parameter tt(a) and scale parameter tt(b).
See also nl()
    tlurl(http://www.itl.nist.gov/div898/handbook/apr/section1/apr163.htm)

Defined types:
        verb(using result_type = RealType;

struct param_type
{
    explicit param_type(RealType a = RealType(0),
                        RealType b = RealType(1));

    RealType a() const;     // the location parameter
    RealType b() const;     // the scale parameter
};)

Constructors and members:
    itemization(
    itt(extreme_value_distribution<>(RealType a = 0, RealType b = 1))
        constructs an extreme value distribution with specified tt(a) and
        tt(b) parameters;
    itt(extreme_value_distribution<>(param_type const &param))
        constructs an extreme value distribution according to the values
        stored in the tt(param) struct.
    itt(RealType a() const)nl()
        returns the distribution's location parameter;
    itt(RealType stddev() const)nl()
        returns the distribution's scale parameter;
    itt(result_type min() const)nl()
        returns the smallest positive value of tt(result_type);
    itt(result_type max() const)nl()
        returns the maximum value of tt(result_type);
    )