Click or drag to resize

FitFunctionExeBase Class

Base class for script-defined fit functions.
Inheritance Hierarchy
SystemObject
  Altaxo.CalcScriptExecutionBase
    Altaxo.CalcFitFunctionExeBase

Namespace: Altaxo.Calc
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract class FitFunctionExeBase : ScriptExecutionBase, 
	IFitFunction

The FitFunctionExeBase type exposes the following members.

Constructors
 NameDescription
Protected methodFitFunctionExeBaseInitializes a new instance of the FitFunctionExeBase class
Top
Properties
 NameDescription
Public propertyNumberOfDependentVariables Number of dependent variables (i.e. y, in Altaxo this is commonly called v like value).
Public propertyNumberOfIndependentVariables Number of independent variables (i.e. x).
Public propertyNumberOfParameters Number of parameters of this fit function.
Top
Methods
 NameDescription
Public methodCombinePath Combines a path with a name to form a full name.
(Inherited from ScriptExecutionBase)
Public methodDefaultParameterValue Returns the default parameter value of parameter i. Defaults to return 0. Scripts can override this function in order to provide more useful values.
Public methodDefaultVarianceScaling Returns the default variance scaling for dependent variable i. Default returns null, which means a constant weight of 1 is assumed.
Public methodDependentVariableName Returns the ith dependent variable name.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEvaluate(Double, Double, Double) This evaluates a function value.
Public methodEvaluate(IROMatrixDouble, IReadOnlyListDouble, IVectorDouble, IReadOnlyListBoolean) Evaluates the function values at multiple x-points.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetParameterBoundariesHardLimit Gets the parameter boundaries that are really a hard limit, i.e. outside those limits, the function would probably evaluate NaN values, or makes no sense.
Public methodGetParameterBoundariesSoftLimit Gets the intended parameter boundaries. This are soft limits, boundaries so that the intended purpose of the fit function is fullfilled. Example: in the exponential decay Exp(-a*t) a is intended to be positive. This is a soft limit, and not a hard limit, because a could be also negative, and the fit nevertheless would succeed.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndependentVariableName Returns the ith independent variable name.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnChanged Called when anything in this fit function has changed.
Public methodParameterName Returns the ith parameter name.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventChanged Fired when the fit function changed.
Top
Fields
 NameDescription
Protected field_dependentVariableNames The names of the dependent variables.
Protected field_independentVariableNames The names of the independent variables.
Protected field_parameterNames The names of the parameters.
Top
See Also