![]() | Bounded |
public class BoundedOneVariableFunctionFitter<M> : OneVariableFunctionFitter<M> where M : new(), IBoundedNonlinearLeastSqMinimizer
[Missing <typeparam name="M"/> documentation for "T:CenterSpace.NMath.Core.BoundedOneVariableFunctionFitter`1"]
The BoundedOneVariableFunctionFitterM type exposes the following members.
Name | Description | |
---|---|---|
![]() | BoundedOneVariableFunctionFitterM(DoubleParameterizedFunction) | Constructs a BddOneVariableFunctionFitter instance with the given parameterized function. |
![]() | BoundedOneVariableFunctionFitterM(FuncDoubleVector, Double, Double) | Constructs a BddOneVariableFunctionFitter instance with the given parameterized function delegate. |
![]() | BoundedOneVariableFunctionFitterM(DoubleParameterizedFunction, M) | Constructs a BddOneVariableFunctionFitter instance with the given parameterized function and minimizer. |
Name | Description | |
---|---|---|
![]() | Function |
Gets and sets the parameterized function.
(Inherited from OneVariableFunctionFitterM) |
![]() | Minimizer |
Gets and sets the function minimizer.
(Inherited from OneVariableFunctionFitterM) |
Name | Description | |
---|---|---|
![]() | Clone |
Creates a deep copy of this OneVariableFunctionFitter.
(Inherited from OneVariableFunctionFitterM) |
![]() | Fit(DoubleVector, DoubleVector, DoubleVector) |
Fits a function to the specified points.
(Inherited from OneVariableFunctionFitterM) |
![]() | Fit(DoubleVector, DoubleVector, DoubleVector, DoubleVector) |
Fits a function to the specified points.
(Inherited from OneVariableFunctionFitterM) |
![]() | Fit(DoubleVector, DoubleVector, DoubleVector, DoubleVector, DoubleVector) | Fits a function to the specified points. |
![]() | ResidualVector |
Computes the residual vector from the given data points and solution.
(Inherited from OneVariableFunctionFitterM) |
![]() | WeightedResidualVector |
Computes the residual vector from the given data points and solution.
(Inherited from OneVariableFunctionFitterM) |
Name | Description | |
---|---|---|
![]() | minimizer_ |
The nonlinear least squares minimizer to use.
(Inherited from OneVariableFunctionFitterM) |
![]() | parameterizedFunction_ |
Parameterized funtion.
(Inherited from OneVariableFunctionFitterM) |
![]() | residualFunction_ |
The actual funtion minimized by the minimizer.
(Inherited from OneVariableFunctionFitterM) |
BoundedOneVariableFunctionFitter<TrustRegionMinimizer>; fitter = new BoundedOneVariableFunctionFitter<TrustRegionMinimizer>(NMathFunctions.FourParameterLogistic); DoubleVector xValues = new DoubleVector(55, 64, 70, 76, 80, 90, 72, 65, 86, 75); DoubleVector yValues = new DoubleVector(338, 328, 308, 225, 180, 142, 283, 325, 143, 250); DoubleVector initialParameters = new DoubleVector("0.1 0.1 0.1 0.1"); DoubleVector parameterLowerBounds = new DoubleVector("-2.3, -4.5, -5.0, 0.0"); DoubleVector parameterUpperBounds = new DoubleVector("20.3, 14.5, 5.0, 10.0"); DoubleVector solution = fitter.Fit(xValues, yValues, initialParameters, parameterLowerBounds, parameterUpperBounds);