Udostępnij za pośrednictwem


chi_squared_distribution::param_type

Przechowuje parametry dystrybucji.

struct param_type {     typedef chi_squared_distribution<RealType> distribution_type;     param_type(RealType n = 1.0);     RealType n() const;     .....     bool operator==(const param_type& right) const;     bool operator!=(const param_type& right) const;     };

Parametry

Zobacz temat nadrzędny chi_squared_distribution — Klasa.

Uwagi

**Precondition:**0.0 < n

Ta struktura mogą być przekazywane do konstruktora klasy dystrybucji na wystąpienia, do param() funkcji elementu członkowskiego, aby ustawić parametry przechowywane istniejących dystrybucji, a także do operator() do użycia zamiast przechowywane parametry.

Wymagania

Nagłówek: < losowe >

Przestrzeń nazw: std

Zobacz też

Informacje

<random>

chi_squared_distribution — Klasa