ICostFunction Type

Base class for cost function declaration

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

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

Instance members

Instance member Description

this.Constraint

Full Usage: this.Constraint

Modifiers: abstract

Access the constraints for the given cost function

this.Gradient

Full Usage: this.Gradient

Parameters:
Returns: DoubleVector
Modifiers: abstract

Method to override to calculate the grad_f, the first derivative of the cost function with respect to x

x : DoubleVector
Returns: DoubleVector

this.Hessian

Full Usage: this.Hessian

Parameters:
Returns: DoubleMatrix
Modifiers: abstract

Method to override to calculate the hessian, the second derivative of the cost function with respect to x

x : DoubleVector
Returns: DoubleMatrix

this.Value

Full Usage: this.Value

Parameters:
Returns: float
Modifiers: abstract

Method to override to compute the cost function value of x

x : DoubleVector
Returns: float