C# Class NSoft.NFramework.Numerics.GoldenSectionMinimumFinder

황금비-분할법 (Golden Section ) 알고리즘을 이용하여 특정 함수의 [lower, upper]구간에서 func(x)의 최소값의 위치를 찾는다.
Inheritance: MinimumFinderBase
显示文件 Open project: debop/NFramework Class Usage Examples

Public Properties

Property Type Description
GodenRatio double

Public Methods

Method Description
FindMiminum ( double>.Func @func, double lower, double upper, int tryCount = MathTool.DefaultTryCount, double tolerance = MathTool.Epsilon ) : double

y = func(x) 함수의 [lower, upper] 구간에서 f(x)의 최소 값이 되는 x를 구합니다.

Method Details

FindMiminum() public method

y = func(x) 함수의 [lower, upper] 구간에서 f(x)의 최소 값이 되는 x를 구합니다.
public FindMiminum ( double>.Func @func, double lower, double upper, int tryCount = MathTool.DefaultTryCount, double tolerance = MathTool.Epsilon ) : double
@func double>.Func
lower double 구간의 하한
upper double 구간의 상한
tryCount int 시도횟수
tolerance double 허용 오차
return double

Property Details

GodenRatio public_oe static_oe property

황금 비율 (2 / (3 + Sqrt(5))
public static double GodenRatio
return double