use-math 0.0.2

Utility-first facade crate for RustUse math utilities
Documentation
1
2
3
4
5
6
7
8
9
10
use use_math::{TypeVector, geode_memoized, hyper_catalan};

fn main() -> Result<(), use_math::GeodeError> {
    let vector = TypeVector::new(vec![0, 1])?;

    assert_eq!(hyper_catalan(&vector)?, 1);
    assert_eq!(geode_memoized(&vector)?, 3);

    Ok(())
}