Click or drag to resize

Simple1DCostFunction Class

Simple wrapper around a scalar function FuncT, TResult defined on a single variable, exposing it as a CostFunction.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.OptimizationCostFunction
    Altaxo.Calc.OptimizationSimple1DCostFunction

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

The Simple1DCostFunction type exposes the following members.

Constructors
 NameDescription
Public methodSimple1DCostFunctionInitializes a new instance of the Simple1DCostFunction class.
Top
Properties
 NameDescription
Public propertyConstraintGets or sets the constraints for the given cost function.
(Inherited from CostFunction)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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)
Public methodGradientComputes the gradient (first derivative) of the cost function at x.
(Inherited from CostFunction)
Public methodHessianComputes the Hessian (second derivative) of the cost function at x.
(Inherited from CostFunction)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValueComputes the cost function value at x.
(Overrides CostFunctionValue(VectorDouble))
Top
Fields
 NameDescription
Protected fieldconstraint_Backs the Constraint property.
(Inherited from CostFunction)
Top
See Also