Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    expr: &Expr,
    inputs: &dyn FormulaInputs,
    time: usize,
    depth: usize,
) -> Result<Slice2D>
Expand description

Evaluate expr at the given time and layer indices into a displayable slice.

Missing or fill cells in any input stay missing; non-finite results from the arithmetic itself (e.g. log of a negative value) are reported as NaN/±Inf so domain errors remain visible.