Skip to main content

validate_grid

Function validate_grid 

Source
pub fn validate_grid<S: Scalar>(
    grid: &[S],
    t0: S,
    tf: S,
) -> Result<(), SolverError>
Expand description

Validate that a requested output grid is monotonic in the integration direction and stays within [t0, tf].

Empty grids are allowed — they simply produce an empty result.