Skip to main content

solve_bvp_shooting

Function solve_bvp_shooting 

Source
pub fn solve_bvp_shooting<F, G>(
    f: F,
    boundary: G,
    a: f64,
    b: f64,
    initial_state: Vec<f64>,
    options: BvpOptions,
) -> Result<BvpSolution, ErrorsJSL>
where F: Fn(f64, &[f64]) -> Vec<f64>, G: Fn(&[f64], &[f64]) -> Vec<f64>,
Expand description

Solves the boundary value problem by single shooting from the guess initial_state for y(a). boundary(y(a), y(b)) must return as many residuals as there are state components.