pub fn newton<F: Fn(&Vec<AD>) -> Vec<AD> + Copy>( init_cond: Vec<f64>, f: F, rtol: f64, ) -> Vec<f64>
Newton-Raphson Method