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

Hessian of Rastrigin test function where a can be chosen freely

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