pub type ScalarConstraintFn = Arc<dyn Fn(&Array1<f64>) -> f64 + Send + Sync>;
Scalar constraint function type
pub struct ScalarConstraintFn { /* private fields */ }