zima 0.1.0-alpha.0

An attempt to create a modern package for the needs of applied statistics
Documentation
1
2
3
4
5
6
7
use std::iter::Iterator;
use crate::Sample;
use rand::Rng;

pub trait Distribution<T> {
    fn distr<R: Rng>(self, rng: R) -> impl Iterator<Item = Sample<T>>;
}