pub type LossFunctionType = Box<dyn Fn(f64, &mut [f64; 3])>;
pub struct LossFunctionType(/* private fields */);