메소드 | 설명 | |
---|---|---|
Compute ( ) : double[] |
Computes the gradient at the given point
|
|
Compute ( double x, double gradient ) : void |
Computes the gradient at the given point x, storing the result at gradient.
|
|
CreateCoefficients ( int points ) : ].double[][ |
Creates the interpolation coefficients.
|
|
Derivative ( double>.Func |
Computes the derivative for a simpler unidimensional function.
|
|
Derivative ( double>.Func |
Computes the derivative for a simpler unidimensional function.
|
|
Derivative ( double>.Func |
Computes the derivative for a simpler unidimensional function.
|
|
FiniteDifferences ( int variables ) : System |
Initializes a new instance of the FiniteDifferences class.
|
|
FiniteDifferences ( int variables, double>.Func |
Initializes a new instance of the FiniteDifferences class.
|
|
FiniteDifferences ( int variables, double>.Func |
Initializes a new instance of the FiniteDifferences class.
|
|
FiniteDifferences ( int variables, double>.Func |
Initializes a new instance of the FiniteDifferences class.
|
|
FiniteDifferences ( int variables, int order ) : System |
Initializes a new instance of the FiniteDifferences class.
|
|
FiniteDifferences ( int variables, int order, double stepSize ) : System |
Initializes a new instance of the FiniteDifferences class.
|
메소드 | 설명 | |
---|---|---|
Interpolate ( double coefficients, double points, int order, int center, double step ) : double |
Interpolates the points to obtain an estimative of the derivative at x.
|
|
derivative ( double x, int index, double output ) : double |
Computes the derivative at point
|
|
init ( double>.Func |
public Compute ( double x, double gradient ) : void | ||
x | double | The point where to compute the gradient. |
gradient | double | The gradient of the function evaluated at point |
리턴 | void |
public static CreateCoefficients ( int points ) : ].double[][ | ||
points | int | The number of points in the tableau. |
리턴 | ].double[][ |
public static Derivative ( double>.Func |
||
function | double>.Func | The function to be differentiated. |
value | double | The value |
리턴 | double |
public static Derivative ( double>.Func |
||
function | double>.Func | The function to be differentiated. |
value | double | The value |
order | int | The derivative order that should be obtained. Default is 1. |
리턴 | double |
public static Derivative ( double>.Func |
||
function | double>.Func | The function to be differentiated. |
value | double | The value |
order | int | The derivative order that should be obtained. Default is 1. |
stepSize | double | The relative step size used to approximate the derivatives. Default is 0.01. |
리턴 | double |
public FiniteDifferences ( int variables ) : System | ||
variables | int | The number of free parameters in the function. |
리턴 | System |
public FiniteDifferences ( int variables, double>.Func |
||
variables | int | The number of free parameters in the function. |
function | double>.Func | The function to be differentiated. |
리턴 | System |
public FiniteDifferences ( int variables, double>.Func |
||
variables | int | The number of free parameters in the function. |
function | double>.Func | The function to be differentiated. |
order | int | The derivative order that should be obtained. Default is 1. |
리턴 | System |
public FiniteDifferences ( int variables, double>.Func |
||
variables | int | The number of free parameters in the function. |
function | double>.Func | The function to be differentiated. |
order | int | The derivative order that should be obtained. Default is 1. |
stepSize | double | The relative step size used to approximate the derivatives. Default is 0.01. |
리턴 | System |
public FiniteDifferences ( int variables, int order ) : System | ||
variables | int | The number of free parameters in the function. |
order | int | The derivative order that should be obtained. Default is 1. |
리턴 | System |
public FiniteDifferences ( int variables, int order, double stepSize ) : System | ||
variables | int | The number of free parameters in the function. |
order | int | The derivative order that should be obtained. Default is 1. |
stepSize | double | The relative step size used to approximate the derivatives. Default is 0.01. |
리턴 | System |