\(\renewcommand\AA{\unicode{x212B}}\)
A UserFunction is defined by a string formula. The formula is assigned by setting string attribute Formula:
`` “name=UserFunction, Formula = h*sin(a*x), h=2, a=1”``
Formula must use ‘x’ for the x-values. The fitting parameters become defined only after the Formula attribute is set that is why Formula must go first in UserFunction definition.
Name | Type | Default | Description |
---|---|---|---|
Formula |
Categories: FitFunctions | General
C++ header: UserFunction.h (last modified: 2021-03-31)
C++ source: UserFunction.cpp (last modified: 2021-03-31)