Struct emcee::Guess [] [src]

pub struct Guess {
    pub values: Vec<f64>,
}

Represents an initial guess

This is the starting position for the sampling. All values are 32-bit floating point numbers, and are contained in a Vec.

Fields

A position in parameter space

Methods

impl Guess
[src]

Create a guess from a slice

Create a guess vector, perturbed from the starting position

Use this to generate the starting guess for the sampling, where there is one guess slightly displaced from the staring location, per walker.

Create a guess vector with custom random number generator

For example, providing a random number generator that has been seeded causes re-creatable results. The random number generator must come from the rand crate.

Returns if the guess vector contains infinite values

Returns if the guess vector contains NaN values

Trait Implementations

impl Debug for Guess
[src]

Formats the value using the given formatter.

impl Clone for Guess
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Index<usize> for Guess
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl IndexMut<usize> for Guess
[src]

The method for the mutable indexing (container[index]) operation