Trait renforce::util::ParameterizedFunc [] [src]

pub trait ParameterizedFunc<T: Num> {
    fn num_params(&self) -> usize;
    fn get_params(&self) -> Vec<T>;
    fn set_params(&mut self, params: Vec<T>);
}

A function that evaluates its input by making use of some parameters

Required Methods

Returns number of parameters used by the function

Returns the parameters used by the function

Changes the parameters used by the function

Implementors