vec-utilities 0.0.2

A collection of methods that make working with Vecs of floats easier
Documentation
1
2
3
4
5
6
7
8
9
use vec_utilities::generation::arange;

#[test]
fn test_arange() {
    let x = arange(0.0, 5.0, 1.0).unwrap();
    let correct = vec![0.0, 1.0, 2.0, 3.0, 4.0];

    assert_eq!(x, correct);
}