Closed kyegupov closed 2 years ago
test case:
#[test] fn irr_finds_closest_root_to_zero() { let cf = [10., 20., -10.]; let guess = Some(0.); assert_eq!(irr(&cf, guess).unwrap(), -0.5857864377789364); // fails: returns -3.414213531256609 }
test case: