pub fn optimize<'a, U: 'a>(
    potential: &'a mut Dynamics<'_, U>
) -> Box<dyn Iterator<Item = OptimProgress<U>> + 'a> where
    U: Clone
Expand description

A general interface for optimization of potential energy