[][src]Function argmin::testfunctions::rastrigin_a

pub fn rastrigin_a<T>(param: &[T], a: T) -> T where
    T: Sum<T> + FromPrimitive + Float

Rastrigin test function

The same as rastrigin; however, it allows to set the parameter a.