Struct quantiles::greenwald_khanna::Tuple [] [src]

pub struct Tuple<T> where
    T: Ord
{ pub v: T, pub g: usize, pub delta: usize, }

3-tuple of a value v[i], g[i] and delta[i].

Fields

v[i], an observation in the set of observations

the difference between the rank lowerbounds of t[i] and t[i-1] g = r_min(v[i]) - r_min(v[i - 1])

the difference betweeh the rank upper and lower bounds for this tuple

Methods

impl<T> Tuple<T> where
    T: Ord
[src]

[src]

Creates a new instance of a Tuple

Trait Implementations

impl<T: Eq> Eq for Tuple<T> where
    T: Ord
[src]

impl<T: Ord> Ord for Tuple<T> where
    T: Ord
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl<T: Debug> Debug for Tuple<T> where
    T: Ord
[src]

[src]

Formats the value using the given formatter.

impl<T> PartialEq for Tuple<T> where
    T: Ord
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<T> PartialOrd for Tuple<T> where
    T: Ord
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more