Get maximum of 4D function

Hi everybody,

I would like to know if Root provides something to maximize a function with 4 parameters.
In my case, I would do like to know the best 4 (complex) parameters that provide the biggest value of my function B(a,ap,b,bp).

Thank you very much for any kind of help,
Cheers.

This is a standard minimization procedure using Minuit. See examples in tutorials/fit

Rene