Click or drag to resize

CostFunction Class

Base class for cost function declaration
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 CostFunction : ICostFunction

The CostFunction type exposes the following members.

Constructors
 NameDescription
Protected methodCostFunctionInitializes a new instance of the CostFunction class
Top
Properties
 NameDescription
Public propertyConstraintGets or sets the constraints for the given cost function.
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.
Public methodHessianComputes the Hessian (second derivative) of the cost function at x.
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.
Top
Fields
 NameDescription
Protected fieldconstraint_Backs the Constraint property.
Top
Remarks

Copyright (c) 2003-2004, dnAnalytics Project. All rights reserved. See http://www.dnAnalytics.net for details.

Adopted to Altaxo (c) 2005 Dr. Dirk Lellinger.

See Also