Struct rv::dist::ChiSquared[][src]

pub struct ChiSquared {
    pub k: f64,
}

Χ2 distribution G(α, β)

Example

use rv::prelude::*;

let x2 = ChiSquared::new(2.0).unwrap();

Fields

Degrees of freedom in (0, ∞)

Methods

impl ChiSquared
[src]

Trait Implementations

impl Debug for ChiSquared
[src]

Formats the value using the given formatter. Read more

impl Clone for ChiSquared
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Skewness for ChiSquared
[src]

impl Kurtosis for ChiSquared
[src]

impl Rv<f64> for ChiSquared
[src]

Un-normalized probability function Read more

The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

Single draw from the Rv Read more

Multiple draws of the Rv Read more

Un-normalized probability function Read more

The constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

impl Support<f64> for ChiSquared
[src]

Returns true if x is in the support of the Rv Read more

impl ContinuousDistr<f64> for ChiSquared
[src]

The value of the Probability Density Function (PDF) at x Read more

The value of the log Probability Density Function (PDF) at x Read more

impl Mean<f64> for ChiSquared
[src]

Returns None if the mean is undefined

impl Mode<f64> for ChiSquared
[src]

Returns None if the mode is undefined or is not a single value

impl Variance<f64> for ChiSquared
[src]

Returns None if the variance is undefined

impl Cdf<f64> for ChiSquared
[src]

The value of the Cumulative Density Function at x Read more

Survival function, 1 - CDF(x)

impl Rv<f32> for ChiSquared
[src]

Un-normalized probability function Read more

The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

Single draw from the Rv Read more

Multiple draws of the Rv Read more

Un-normalized probability function Read more

The constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more

impl Support<f32> for ChiSquared
[src]

Returns true if x is in the support of the Rv Read more

impl ContinuousDistr<f32> for ChiSquared
[src]

The value of the Probability Density Function (PDF) at x Read more

The value of the log Probability Density Function (PDF) at x Read more

impl Mean<f32> for ChiSquared
[src]

Returns None if the mean is undefined

impl Mode<f32> for ChiSquared
[src]

Returns None if the mode is undefined or is not a single value

impl Variance<f32> for ChiSquared
[src]

Returns None if the variance is undefined

impl Cdf<f32> for ChiSquared
[src]

The value of the Cumulative Density Function at x Read more

Survival function, 1 - CDF(x)

Auto Trait Implementations

impl Send for ChiSquared

impl Sync for ChiSquared