argmin_testfunctions

Function ackley_derivative_const

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

Derivative of Ackley test function

Calls ackley_abc_derivative_const 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.