How to know the size of the mutated array in f!(F, x)?

In your nonlinear-equation solver, just infer the dimension of the problem from the size of the initial guess that the user passes to your solver (not from the function object).

3 Likes