Click or drag to resize

NonlinearMinimizerBaseNonAllocating Class

Base class for nonlinear minimizers that avoid allocating intermediate arrays by working with internal/external parameter projections and pre-allocated vectors.
Inheritance Hierarchy

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public abstract class NonlinearMinimizerBaseNonAllocating

The NonlinearMinimizerBaseNonAllocating type exposes the following members.

Constructors
 NameDescription
Protected methodNonlinearMinimizerBaseNonAllocatingInitializes a new instance of the NonlinearMinimizerBaseNonAllocating class
Top
Properties
 NameDescription
Public propertyFunctionTolerance Gets or sets the stopping threshold for the function value or L2 norm of the residuals.
Public propertyGradientTolerance Gets or sets the stopping threshold for the infinity norm of the gradient.
Protected propertyIsBounded Gets a value indicating whether bounded optimization is active (bounds and/or scales are configured).
Public propertyLowerBound Gets the lower bound of the parameters.
Public propertyMaximumIterations Gets or sets the maximum number of iterations. If , the maximum number of iterations is determined automatically.
Public propertyMinimalRSSImprovement Gets or sets the minimal RSS improvement.
Public propertyScales Gets the scale factors for the parameters.
Public propertyStepTolerance Gets or sets the stopping threshold for the L2 norm of the change of the parameters.
Public propertyUpperBound Gets the upper bound of the parameters.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodEvaluateFunction Evaluates the objective function at the provided internal parameter values.
Protected methodEvaluateJacobian Evaluates the Jacobian-derived gradient and the Hessian of the objective function.
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodProjectToExternalParameters Projects internal to external parameters.
Protected methodProjectToInternalParameters Projects external to internal parameters.
Protected methodScaleFactorsOfJacobian Calculates the scale factor of the Jacobian, taking into account the parameter transformations and the parameter scales.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodValidateBounds Validates and stores parameter bounds and scale factors.
Top
Fields
 NameDescription
Public fieldStatic memberDefaultFunctionTolerance The default function tolerance. Since function tolerance is an absolute value and thus depends on the scale of the y-values, the default value for it is zero.
Public fieldStatic memberDefaultGradientTolerance The default gradient tolerance. Since the gradient tolerance is an absolute value and thus depends on the scale of the y-values, and the scale of the parameters, its default value is zero.
Public fieldStatic memberDefaultMinimalRSSImprovement The default value for the minimal RSS (Chi²) improvement achieved during 8 iterations.
Public fieldStatic memberDefaultStepTolerance The default step tolerance. This is a relative value (ratio of current step and value of the parameter).
Top
See Also