[][src]Struct preexplorer::SequenceError

pub struct SequenceError { /* fields omitted */ }

Sequence of values with a given error.

Examples

Quick plot.

use preexplorer::prelude::*;
let data = (0..10).map(|i| (i..10 + i));
let seq_err = pre::SequenceError::new(data).plot("my_identifier").unwrap();

Compare SequenceError structs.

use preexplorer::prelude::*;
pre::SequenceErrors::new(vec![
    pre::SequenceError::new((0..10).map(|i| (i..10 + i))),
    pre::SequenceError::new((0..10).map(|i| (i..10 + i))),
    ])
    .plot("my_identifier").unwrap();

Implementations

impl SequenceError[src]

pub fn new<I, J, T>(data: I) -> SequenceError where
    I: IntoIterator<Item = J>,
    J: IntoIterator<Item = T>,
    T: Into<f64>, 
[src]

Constructs a new SequenceError from data.

Each dataset is processed so that the final plot shows the mean of the data set and an error bar of one standard deviation.

Examples

From a complicated computation.

use preexplorer::prelude::*;
let data = (0..10).map(|i| i..10 + i);
let seq_err = pre::SequenceError::new(data);

Trait Implementations

impl Add<SequenceError> for SequenceErrors[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<SequenceError> for SequenceError[src]

type Output = SequenceErrors

The resulting type after applying the + operator.

impl AddAssign<SequenceError> for SequenceErrors[src]

impl Clone for SequenceError[src]

impl Configurable for SequenceError[src]

impl Debug for SequenceError[src]

impl<T> From<Densities<T>> for SequenceError where
    T: Into<f64> + Display + Clone
[src]

impl From<SequenceError> for SequenceErrors[src]

impl PartialEq<SequenceError> for SequenceError[src]

impl Plotable for SequenceError[src]

impl Saveable for SequenceError[src]

impl StructuralPartialEq for SequenceError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme, 

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme, 

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Dst> ConvAsUtil<Dst> for T

impl<T> ConvUtil for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<Src> TryFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Src> ValueFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.