Function argmin_testfunctions::ackley_abc_derivative_const

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

Derivative of Ackley test function

The same as ackley_derivative; however, it allows to set the parameters a, b and c.

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