C# 클래스 Accord.Math.RelativeConvergence

Relative convergence criteria.
This class can be used to track progress and convergence of methods which rely on the relative change of a value.
상속: ISingleValueConvergence
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Resets this instance, reverting all iteration statistics statistics (number of iterations, last error) back to zero.

RelativeConvergence ( ) : System

Initializes a new instance of the RelativeConvergence class.

RelativeConvergence ( int iterations, double tolerance ) : System

Initializes a new instance of the RelativeConvergence class.

RelativeConvergence ( int iterations, double tolerance, int checks ) : System

Initializes a new instance of the RelativeConvergence class.

비공개 메소드들

메소드 설명
checkConvergence ( ) : bool

메소드 상세

Clear() 공개 메소드

Resets this instance, reverting all iteration statistics statistics (number of iterations, last error) back to zero.
public Clear ( ) : void
리턴 void

RelativeConvergence() 공개 메소드

Initializes a new instance of the RelativeConvergence class.
public RelativeConvergence ( ) : System
리턴 System

RelativeConvergence() 공개 메소드

Initializes a new instance of the RelativeConvergence class.
public RelativeConvergence ( int iterations, double tolerance ) : System
iterations int The maximum number of iterations which should be /// performed by the iterative algorithm. Setting to zero indicates there /// is no maximum number of iterations. Default is 100.
tolerance double The maximum relative change in the watched value /// after an iteration of the algorithm used to detect convergence. /// Default is 0.
리턴 System

RelativeConvergence() 공개 메소드

Initializes a new instance of the RelativeConvergence class.
public RelativeConvergence ( int iterations, double tolerance, int checks ) : System
iterations int The maximum number of iterations which should be /// performed by the iterative algorithm. Setting to zero indicates there /// is no maximum number of iterations. Default is 0.
tolerance double The maximum relative change in the watched value /// after an iteration of the algorithm used to detect convergence. /// Default is 0.
checks int The minimum number of convergence checks that the /// iterative algorithm should pass before convergence can be declared /// reached.
리턴 System