C# Class BRDFLafortuneFitting.LevenbergMarquardt

Datei anzeigen Open project: Patapom/GodComplex

Protected Properties

Property Type Description
b double
m_AbsoluteAccuracy double
m_AbsoluteGradTolerance double
m_AbsoluteTolerance Vector
m_AchievedAccuracy double
m_AchievedGradTolerance double
m_AchievedTolerance Vector
m_Constraints Constraints
m_Delta Vector
m_Diagonal Vector
m_Dimension int
m_Direction Vector
m_Estimator IChatte
m_FunctionValues Vector
m_FunctionValuesEx Vector
m_InitialLambda double
m_InitialPoint Vector
m_IterationsCount int
m_Jacobian System.Matrix
m_JacobianEx System.Matrix
m_Lambda double
m_MaxIterations int
m_MinPoint Vector
m_MinValue double
m_ParametersCount int
m_PredictedReduction double
m_PreviousMinPoint Vector
m_PreviousMinValue double
m_Reduction double
m_RelativeAccuracy double
m_RelativeTolerance Vector
m_RepeatedConvergenceFailures int
m_RepeatedLineSearchFailures int
m_Scale Vector
m_TempPoint Vector
m_TotalAccuracy double
m_TotalTolerance Vector
ro double

Public Methods

Method Description
Init ( int _Dimension, int _ParametersCount, int _MaxIterations ) : void

Initializes the solver

LevenbergMarquardt ( ) : System
Solve ( Vector _InitialGuess, IChatte _Estimator ) : void

Solves the problem

Protected Methods

Method Description
Complete ( ) : void
PrepareStep ( ) : void
Reset ( ) : void
SetData ( Vector _Point ) : void
Step ( ) : void
UpdateMin ( ) : void
UpdateScaling ( ) : void
UpdateTrustRegion ( ) : void
convertToTransformedArg ( Vector x, int i ) : double

Method Details

Complete() protected method

protected Complete ( ) : void
return void

Init() public method

Initializes the solver
public Init ( int _Dimension, int _ParametersCount, int _MaxIterations ) : void
_Dimension int Size of the dataset to solve against (i.e. amount of data points to fit against)
_ParametersCount int Size of the vector to solve for (i.e. amount of unknowns to fit)
_MaxIterations int Maximum amount of iterations to perform (20 iters significantly increases error vs. 100, a standard value is 45)
return void

LevenbergMarquardt() public method

public LevenbergMarquardt ( ) : System
return System

PrepareStep() protected method

protected PrepareStep ( ) : void
return void

Reset() protected method

protected Reset ( ) : void
return void

SetData() protected method

protected SetData ( Vector _Point ) : void
_Point Vector
return void

Solve() public method

Solves the problem
public Solve ( Vector _InitialGuess, IChatte _Estimator ) : void
_InitialGuess Vector
_Estimator IChatte
return void

Step() protected method

protected Step ( ) : void
return void

UpdateMin() protected method

protected UpdateMin ( ) : void
return void

UpdateScaling() protected method

protected UpdateScaling ( ) : void
return void

UpdateTrustRegion() protected method

protected UpdateTrustRegion ( ) : void
return void

convertToTransformedArg() protected method

protected convertToTransformedArg ( Vector x, int i ) : double
x Vector
i int
return double

Property Details

b protected_oe property

protected double b
return double

m_AbsoluteAccuracy protected_oe property

protected double m_AbsoluteAccuracy
return double

m_AbsoluteGradTolerance protected_oe property

protected double m_AbsoluteGradTolerance
return double

m_AbsoluteTolerance protected_oe property

protected Vector m_AbsoluteTolerance
return Vector

m_AchievedAccuracy protected_oe property

protected double m_AchievedAccuracy
return double

m_AchievedGradTolerance protected_oe property

protected double m_AchievedGradTolerance
return double

m_AchievedTolerance protected_oe property

protected Vector m_AchievedTolerance
return Vector

m_Constraints protected_oe property

protected Constraints m_Constraints
return Constraints

m_Delta protected_oe property

protected Vector m_Delta
return Vector

m_Diagonal protected_oe property

protected Vector m_Diagonal
return Vector

m_Dimension protected_oe property

protected int m_Dimension
return int

m_Direction protected_oe property

protected Vector m_Direction
return Vector

m_Estimator protected_oe property

protected IChatte m_Estimator
return IChatte

m_FunctionValues protected_oe property

protected Vector m_FunctionValues
return Vector

m_FunctionValuesEx protected_oe property

protected Vector m_FunctionValuesEx
return Vector

m_InitialLambda protected_oe property

protected double m_InitialLambda
return double

m_InitialPoint protected_oe property

protected Vector m_InitialPoint
return Vector

m_IterationsCount protected_oe property

protected int m_IterationsCount
return int

m_Jacobian protected_oe property

protected Matrix,System m_Jacobian
return System.Matrix

m_JacobianEx protected_oe property

protected Matrix,System m_JacobianEx
return System.Matrix

m_Lambda protected_oe property

protected double m_Lambda
return double

m_MaxIterations protected_oe property

protected int m_MaxIterations
return int

m_MinPoint protected_oe property

protected Vector m_MinPoint
return Vector

m_MinValue protected_oe property

protected double m_MinValue
return double

m_ParametersCount protected_oe property

protected int m_ParametersCount
return int

m_PredictedReduction protected_oe property

protected double m_PredictedReduction
return double

m_PreviousMinPoint protected_oe property

protected Vector m_PreviousMinPoint
return Vector

m_PreviousMinValue protected_oe property

protected double m_PreviousMinValue
return double

m_Reduction protected_oe property

protected double m_Reduction
return double

m_RelativeAccuracy protected_oe property

protected double m_RelativeAccuracy
return double

m_RelativeTolerance protected_oe property

protected Vector m_RelativeTolerance
return Vector

m_RepeatedConvergenceFailures protected_oe property

protected int m_RepeatedConvergenceFailures
return int

m_RepeatedLineSearchFailures protected_oe property

protected int m_RepeatedLineSearchFailures
return int

m_Scale protected_oe property

protected Vector m_Scale
return Vector

m_TempPoint protected_oe property

protected Vector m_TempPoint
return Vector

m_TotalAccuracy protected_oe property

protected double m_TotalAccuracy
return double

m_TotalTolerance protected_oe property

protected Vector m_TotalTolerance
return Vector

ro protected_oe property

protected double ro
return double