Click or drag to resize

ConjugateGradient Class

Nonlinear preconditioned conjugate gradient method.
Inheritance Hierarchy

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

The ConjugateGradient type exposes the following members.

Constructors
 NameDescription
Public methodConjugateGradient(CostFunction) Initializes a new instance of the ConjugateGradient class.
Public methodConjugateGradient(CostFunction, EndCriteria) Initializes a new instance of the ConjugateGradient class.
Public methodConjugateGradient(CostFunction, EndCriteria, LineSearchMethod) Initializes a new instance of the ConjugateGradient class.
Top
Properties
 NameDescription
Public propertyInitialValueGets the initial value.
(Inherited from FunctionMinimizeMethod)
Public propertyInitialVectorGets the initial vector.
(Inherited from FunctionMinimizeMethod)
Public propertyIterationGradientNormsGets the gradient norms for all iterations.
(Inherited from FunctionMinimizeMethod)
Public propertyIterationValuesGets the solution function values for all iterations.
(Inherited from FunctionMinimizeMethod)
Public propertyIterationVectorsGets the solution vectors for all iterations.
(Inherited from FunctionMinimizeMethod)
Public propertyMethodNameGets the method name.
(Overrides OptimizationMethodMethodName)
Public propertyRestartCount Gets or sets the number of iterations between restarts.
Public propertySolutionValueGets the value of the solution vector.
(Inherited from FunctionMinimizeMethod)
Public propertySolutionVectorGets the solution vector (the current best estimate of the minimum).
(Inherited from FunctionMinimizeMethod)
Top
Methods
 NameDescription
Protected methodCheckCriteriaChecks whether the criteria are still satisfied.
(Inherited from FunctionMinimizeMethod)
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)
Protected methodFunctionEvaluation Performs an evaluation of the cost function value.
(Inherited from OptimizationMethod)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGradientEvaluation Performs an evaluation of the cost function gradient.
(Inherited from OptimizationMethod)
Protected methodHessianEvaluation Performs an evaluation of the cost function Hessian.
(Inherited from OptimizationMethod)
Public methodInitializeMethodInitializes the optimization method.
(Overrides FunctionMinimizeMethodInitializeMethod(VectorDouble))
Public methodIterateMethodPerforms a single iteration of the optimization method.
(Overrides FunctionMinimizeMethodIterateMethod)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMinimizeMinimizes the given cost function.
(Inherited from FunctionMinimizeMethod)
Public methodToStringReturns a string that represents the current object.
(Inherited from OptimizationMethod)
Public methodToString(IFormatProvider)A string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Public methodToString(String)A string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Public methodToString(String, IFormatProvider)A string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Top
Fields
 NameDescription
Public fieldcostFunction_Optimization cost function.
(Inherited from OptimizationMethod)
Public fieldendCriteria_Optimization ending criteria.
(Inherited from OptimizationMethod)
Protected fielditerationGradientNorms_Iteration gradient norms.
(Inherited from FunctionMinimizeMethod)
Protected fielditerationValues_Iteration values.
(Inherited from FunctionMinimizeMethod)
Protected fielditerationVectors_Iteration solutions.
(Inherited from FunctionMinimizeMethod)
Top
Remarks

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

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

See Also