Struct rv::dist::ChiSquared [−][src]
pub struct ChiSquared { pub k: f64, }
Fields
k: f64
Degrees of freedom in (0, ∞)
Methods
impl ChiSquared
[src]
impl ChiSquared
Trait Implementations
impl Debug for ChiSquared
[src]
impl Debug for ChiSquared
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ChiSquared
[src]
impl Clone for ChiSquared
fn clone(&self) -> ChiSquared
[src]
fn clone(&self) -> ChiSquared
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Skewness for ChiSquared
[src]
impl Skewness for ChiSquared
impl Kurtosis for ChiSquared
[src]
impl Kurtosis for ChiSquared
impl Rv<f64> for ChiSquared
[src]
impl Rv<f64> for ChiSquared
fn ln_f(&self, x: &f64) -> f64
[src]
fn ln_f(&self, x: &f64) -> f64
Un-normalized probability function Read more
fn ln_normalizer(&self) -> f64
[src]
fn ln_normalizer(&self) -> f64
The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more
fn draw<R: Rng>(&self, rng: &mut R) -> f64
[src]
fn draw<R: Rng>(&self, rng: &mut R) -> f64
Single draw from the Rv
Read more
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f64>
[src]
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f64>
Multiple draws of the Rv
Read more
fn f(&self, x: &X) -> f64
[src]
fn f(&self, x: &X) -> f64
Un-normalized probability function Read more
fn normalizer(&self) -> f64
[src]
fn normalizer(&self) -> f64
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]
impl Support<f64> for ChiSquared
impl ContinuousDistr<f64> for ChiSquared
[src]
impl ContinuousDistr<f64> for ChiSquared
fn pdf(&self, x: &X) -> f64
[src]
fn pdf(&self, x: &X) -> f64
The value of the Probability Density Function (PDF) at x
Read more
fn ln_pdf(&self, x: &X) -> f64
[src]
fn ln_pdf(&self, x: &X) -> f64
The value of the log Probability Density Function (PDF) at x
Read more
impl Mean<f64> for ChiSquared
[src]
impl Mean<f64> for ChiSquared
impl Mode<f64> for ChiSquared
[src]
impl Mode<f64> for ChiSquared
impl Variance<f64> for ChiSquared
[src]
impl Variance<f64> for ChiSquared
impl Cdf<f64> for ChiSquared
[src]
impl Cdf<f64> for ChiSquared
fn cdf(&self, x: &f64) -> f64
[src]
fn cdf(&self, x: &f64) -> f64
The value of the Cumulative Density Function at x
Read more
fn sf(&self, x: &X) -> f64
[src]
fn sf(&self, x: &X) -> f64
Survival function, 1 - CDF(x)
impl Rv<f32> for ChiSquared
[src]
impl Rv<f32> for ChiSquared
fn ln_f(&self, x: &f32) -> f64
[src]
fn ln_f(&self, x: &f32) -> f64
Un-normalized probability function Read more
fn ln_normalizer(&self) -> f64
[src]
fn ln_normalizer(&self) -> f64
The log of the constant term in the PDF/PMF. Should not be a function of any of the parameters. Read more
fn draw<R: Rng>(&self, rng: &mut R) -> f32
[src]
fn draw<R: Rng>(&self, rng: &mut R) -> f32
Single draw from the Rv
Read more
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f32>
[src]
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f32>
Multiple draws of the Rv
Read more
fn f(&self, x: &X) -> f64
[src]
fn f(&self, x: &X) -> f64
Un-normalized probability function Read more
fn normalizer(&self) -> f64
[src]
fn normalizer(&self) -> f64
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]
impl Support<f32> for ChiSquared
impl ContinuousDistr<f32> for ChiSquared
[src]
impl ContinuousDistr<f32> for ChiSquared
fn pdf(&self, x: &X) -> f64
[src]
fn pdf(&self, x: &X) -> f64
The value of the Probability Density Function (PDF) at x
Read more
fn ln_pdf(&self, x: &X) -> f64
[src]
fn ln_pdf(&self, x: &X) -> f64
The value of the log Probability Density Function (PDF) at x
Read more
impl Mean<f32> for ChiSquared
[src]
impl Mean<f32> for ChiSquared
impl Mode<f32> for ChiSquared
[src]
impl Mode<f32> for ChiSquared
impl Variance<f32> for ChiSquared
[src]
impl Variance<f32> for ChiSquared
impl Cdf<f32> for ChiSquared
[src]
impl Cdf<f32> for ChiSquared
Auto Trait Implementations
impl Send for ChiSquared
impl Send for ChiSquared
impl Sync for ChiSquared
impl Sync for ChiSquared