cheby 0.4.0

Unit-safe Chebyshev approximation and spectral numerics for Rust.
Documentation
1
2
3
4
5
fn main() {
    let table: cheby::ChebySegmentTable<f64, f64, 12> =
        cheby::ChebySegmentTable::from_fn(|t| t.sin(), 0.0, 4.0, 1.0);
    println!("{}", table.evaluate(1.25).unwrap());
}