Function argmin_testfunctions::rastrigin_hessian_const

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

Hessian of Rastrigin test function

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