Struct emcee::Step [] [src]

pub struct Step<'a> {
    pub pos: Cow<'a, [Guess]>,
    pub lnprob: Cow<'a, [f64]>,
    pub iteration: usize,
}

Struct representing the current iteration evaluation

This struct is used with sample, which supplies a callback to each loop step. An instance of this struct is passed to the callback.

Technical note: the pos and lnprob slices are implemented as Cow wrapped objects, as during iteration, their contents are references (as the values are stored with a longer lived lifetime in the sampler method), whereas the function must return owned values.

Fields

The current list of parameters, one for each walker

The log posterior probabilities of the values contained in pos, one for each walker

The current iteration number

Trait Implementations

impl<'a> Debug for Step<'a>
[src]

Formats the value using the given formatter.