JITFunction

Type Alias JITFunction 

Source
pub type JITFunction = Arc<dyn Fn(&[f64]) -> f64 + Send + Sync>;
Expand description

Type alias for a JIT-compiled function that evaluates a single equation.

This represents a function that:

  • Takes a slice of input values corresponding to variables in order
  • Returns a single f64 result from evaluating the equation
  • Is both Send and Sync for thread safety

Aliased Typeยง

pub struct JITFunction { /* private fields */ }