Platforms to show: All Mac Windows Linux Cross-Platform

Back to LMFitMBS class.

LMFitMBS.evaluateCurve(t as double, par as Ptr, nPar as Integer, parameters() as double, tag as variant) as double

Type Topic Plugin Version macOS Windows Linux iOS Targets
event LMFit MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
Evaluate is a event that calculates the m functions.

The parameter par, nPar, parameters and mDat are passed through from the call to LMCurve.

fvec is an array of length m; on OUTPUT, it must contain the m function values for the parameter vector x.

If you return a nonzero value, lmmin will terminate.
Return zero to continue.

If provideArrays property is true, we provide values via parameters array, which may be slower than using par pointer.

Some examples using this event:

LMFitMBS.evaluateMin(par as Ptr, nPar as Integer, parameters() as double, mDat as Integer, fvec as Ptr, tag as variant) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
event LMFit MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
Evaluate is a event that calculates the m functions.

The parameter par, nPar, parameters and mDat are passed through from the call to LMMin.

fvec is an array of length m; on OUTPUT, it must contain the m function values for the parameter vector x.

If you return a nonzero value, lmmin will terminate.
Return zero to continue.

If provideArrays property is true, we provide values via parameters array, which may be slower than using par pointer.

Some examples using this event:

The items on this page are in the following plugins: MBS Tools Plugin.


The biggest plugin in space...