C# Class YAMP.Numerics.GoldenSection

The golden section search is a technique for finding the extremum (minimum or maximum) of a strictly unimodal function by successively narrowing the range of values inside which the extremum is known to exist.
Inheritance: OptimizationBase
ファイルを表示 Open project: FlorianRappl/YAMP

Public Methods

Method Description
GoldenSection ( double>.Func f, double a, double b, int n ) : System

Creates a new golden section search instance.

Method Details

GoldenSection() public method

Creates a new golden section search instance.
public GoldenSection ( double>.Func f, double a, double b, int n ) : System
f double>.Func The function to optimize.
a double The start value.
b double The end value.
n int The number of points.
return System