pub fn update_param<F>(&mut self, op: F)
    where
        F: FnOnce(&mut P),
    {
        self.clear();
        op(&mut self.param);
    }
/// Modify the parameter used for the computation
///
/// Takes a closure and applies it to the parameter.
///
/// This clears any cached value.
Modify the parameter used for the computation
Takes a closure and applies it to the parameter.

This clears any cached value.
Modify the parameter used for the computation Takes a closure and applies it to the parameter . This clears any cached value .
pub fn update_param<F>(&mut self, op: F)
    where
        F: FnOnce(&mut P),
    {
        self.clear();
        op(&mut self.param);
    }
pub fn update_param < F > ( & mut self , op : F ) where F : FnOnce ( & mut P ) , { self . clear ( ) ; op ( & mut self . param ) ; }
Modify the parameter used for the computation
Takes a closure and applies it to the parameter.
Modify the parameter used for the computation Takes a closure and applies it to the parameter .
&mut self
op
F