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

Rastrigin test function

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