How to use TMtxMultiNonLinReg component?
1. Drop a TMtxMultiNonLinReg component on the form. 2. Define TMtxMultiNonLinReg::X the vector of independent variables. 3. Define TMtxMultiNonLinReg::Y the vector of dependent variables. Make sure that X and Y have the same length. 4. Define initial estimates for TMtxMultiNonLinReg::B regression parameters. 5. (Optionaly) define TMtxMultiNonLinReg::Weights. If you'll use weights, set TMtxMultiNonLinReg::UseWeights property to true. 6. Define regression function. 7. (Optionally) define the derivative procedure. If you don't define derivative procedure then the numeric approximation will be used to calculate the derivative at specific point. 8. Define the optimization method. Depending on your function different methods will give better/worse results. 9. (Optionally) define desired tolerance for result. 10. Define the maximum number of steps for optimization method. Internal optimization method will stop when number of iterations exceeds MaxIter or internal minimum precision is within Tolerance. 11. Verbose property, if assigned, stores Fun, evaluated at each iteration step. Optionally, you can also assign TOptControl object to the Verbose property. This allows the optimization procedure to be interrupted from another thread and optionally also allows logging and iteration count monitoring.
The component internally performs vectorized optimization process. It can also be used to speed-up nonlinear regression with only one independent variable by 10-20x.