Struct cetkaik_full_state_transition::probabilistic::Prob[][src]

pub struct Prob<T>(pub Vec<(T, f64)>);
Expand description

Describes the general probability density. Note that this implementation assumes that the sum is exactly 1. /一般の確率分布。f64の和が厳密に1になることを前提としている。

Implementations

Expects a float within the range of 0 up to but not including 1.

Panics

Panics if float is outside the range.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.