struct ZigTable [src]
Fields
r: f64
x: [257]f64
f: [257]f64
pdf: fn (f64) f64
is_symmetric: bool
zero_case: fn (Random, f64) f64
Source
pub const ZigTable = struct {
r: f64,
x: [257]f64,
f: [257]f64,
// probability density function used as a fallback
pdf: fn (f64) f64,
// whether the distribution is symmetric
is_symmetric: bool,
// fallback calculation in the case we are in the 0 block
zero_case: fn (Random, f64) f64,
}