tiny_solver::loss_functions

Trait Loss

Source
pub trait Loss: Send + Sync {
    // Required method
    fn evaluate(&self, s: f64) -> [f64; 3];
}

Required Methods§

Source

fn evaluate(&self, s: f64) -> [f64; 3]

Implementors§