argmin_testfunctions

Function 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 = 20$, $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.