solve_muzzle_angle

Function solve_muzzle_angle 

Source
pub fn solve_muzzle_angle(
    inputs: &BallisticInputs,
    zero_distance_los_m: f64,
    trajectory_func: impl Fn(&BallisticInputs) -> Result<f64, String> + Copy,
    angle_lower_deg: f64,
    angle_upper_deg: f64,
    rtol: f64,
) -> Result<AngleResult, String>
Expand description

Solve muzzle angle using Brent’s method optimization