ndhistogram 0.11.0

multi-dimensional histogramming for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
extern crate ndhistogram;
use ndhistogram::axis::Uniform;
use ndhistogram::{ndhistogram, Error, Histogram};

fn main() -> Result<(), Error> {
    let mut hist = ndhistogram!(Uniform::new(10, 0.0, 1.0)?);

    // fill a single number
    hist.fill(&0.0);
    Ok(())
}