Function argmin_testfunctions::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 = 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.