pub fn rosenbrock_derivative_const<const N: usize, T>(param: &[T; N]) -> [T; N]
Expand description

Derivative of the multidimensional Rosenbrock test function

The parameters a and b are set to 1.0 and 100.0, respectively.

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