multicalc 0.5.0

Rust scientific computing for single and multi-variable calculus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

//In most cases, Central is recommended for the highest accuracy
//If you feel unsure, start with Central and then tweak depending on results
//Not that the accuracy of results also depend on the step size
#[derive(Debug, Copy, Clone)]
pub enum FiniteDifferenceMode
{
    Forward,
    Backward,
    Central
}

///constants used by finite_difference module
pub const DEFAULT_STEP_SIZE: f64 = 1.0e-5;
pub const DEFAULT_STEP_SIZE_MULTIPLIER: f64 = 10.0;