Constructs a CurveFitResidualFunction instance for the given parameterized function and
x-yValues values.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public CurveFitResidualFunction( DoubleParameterizedFunction ftn, DoubleVector xValues, DoubleVector yValues, int numParameters ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ ftn As DoubleParameterizedFunction, _ xValues As DoubleVector, _ yValues As DoubleVector, _ numParameters As Integer _ ) |
| Visual C++ |
|---|
public: CurveFitResidualFunction( DoubleParameterizedFunction^ ftn, DoubleVector^ xValues, DoubleVector^ yValues, int numParameters ) |
Parameters
- ftn
- Type: CenterSpace.NMath.Core..::.DoubleParameterizedFunction
The parameterized function.
- xValues
- Type: CenterSpace.NMath.Core..::.DoubleVector
observed x-values.
- yValues
- Type: CenterSpace.NMath.Core..::.DoubleVector
The observed yValues-values.
- numParameters
- Type: System..::.Int32
The nunmber of parameters in the parameterized function.