IFitFunction Type

Represents the interface to a fitting function.

Instance members

Instance member Description

this.Changed

Full Usage: this.Changed

Returns: IEvent<EventHandler, EventArgs>
Modifiers: abstract

Occurs when the fit function changed, including number or name of parameters, independent variables, dependent variables, or the scaling.

Returns: IEvent<EventHandler, EventArgs>

this.DefaultParameterValue

Full Usage: this.DefaultParameterValue

Parameters:
    i : int - Index of the parameter.

Returns: float A default value for the parameter i.
Modifiers: abstract

Returns a default parameter value. You must ensure that the fit function would generate values with those default parameters.

i : int

Index of the parameter.

Returns: float

A default value for the parameter i.

this.DefaultVarianceScaling

Full Usage: this.DefaultVarianceScaling

Parameters:
    i : int - Index of the dependent variable.

Returns: IVarianceScaling The variance scaling for that dependent variable. If null is returned, then the default variance scaling (weight==const.==1) is assumed.
Modifiers: abstract

Returns the default variance scaling for the dependent variable i.

i : int

Index of the dependent variable.

Returns: IVarianceScaling

The variance scaling for that dependent variable. If null is returned, then the default variance scaling (weight==const.==1) is assumed.

this.DependentVariableName

Full Usage: this.DependentVariableName

Parameters:
    i : int - Index of the dependent variable.

Returns: string The name of the ith dependent variable.
Modifiers: abstract

Returns the ith dependent variable name.

i : int

Index of the dependent variable.

Returns: string

The name of the ith dependent variable.

this.Evaluate

Full Usage: this.Evaluate

Parameters:
    independent : float[] - The independent variables.
    parameters : float[] - Parameters for evaluation.
    FV : float[] - On return, this array contains the one (or more) evaluated function values at the point (independent).

Modifiers: abstract

This evaluates a function value.

independent : float[]

The independent variables.

parameters : float[]

Parameters for evaluation.

FV : float[]

On return, this array contains the one (or more) evaluated function values at the point (independent).

this.IndependentVariableName

Full Usage: this.IndependentVariableName

Parameters:
    i : int - Index of the independent variable.

Returns: string The name of the ith independent variable.
Modifiers: abstract

Returns the ith independent variable name.

i : int

Index of the independent variable.

Returns: string

The name of the ith independent variable.

this.NumberOfDependentVariables

Full Usage: this.NumberOfDependentVariables

Returns: int
Modifiers: abstract

Number of dependent variables (i.e. y, in Altaxo this is commonly called v (like value)).

Returns: int

this.NumberOfIndependentVariables

Full Usage: this.NumberOfIndependentVariables

Returns: int
Modifiers: abstract

Number of independent variables (i.e. x).

Returns: int

this.NumberOfParameters

Full Usage: this.NumberOfParameters

Returns: int
Modifiers: abstract

Number of parameters of this fit function.

Returns: int

this.ParameterName

Full Usage: this.ParameterName

Parameters:
    i : int - Index of the parameter.

Returns: string The name of the ith paramter.
Modifiers: abstract

Returns the ith parameter name.

i : int

Index of the parameter.

Returns: string

The name of the ith paramter.