Function argmin_testfunctions::rastrigin_derivative_const

source ยท
pub fn rastrigin_derivative_const<const N: usize, T>(param: &[T; N]) -> [T; N]
where T: Float + FromPrimitive + Sum + Into<f64>,
Expand description

Derivative of Rastrigin test function

This is the const generics version, which requires the number of parameters to be known at compile time.