telium 0.1.2

Eventually a suite a libraries for medical science
Documentation
1
2
3
4
5
6
7
8
9
10
11

/// Trait returning a value from a function
pub trait Eval {
    fn value(&self, x: f32) -> f32;
}

/// Trait to determine domain of a function
pub trait Domain {
    /// returns true if x in the domain of the funtions
    fn in_domain(&self, x: f32) -> bool;
}