Function argmin_testfunctions::ackley_hessian_const

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

Hessian of Ackley test function

Calls ackley_abc_hessian with a = 10, b = 0.2 and c = 2*pi

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