IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Function f(x, y) = x * y. Value and gradient are defined. More...
Public Member Functions | |
override double | Value (double x, double y) |
Calculates and returns value of the current 2D scalar function. | |
override void | Gradient (double x, double y, out double gradx, out double grady) |
Calculates gradient of the current 2D scalar function and returns its components through the specified output variables. |
Function f(x, y) = x * y.
Value and gradient are defined.
override double IG::Num::Func2dExamples::Func2dXY::Value | ( | double | x, |
double | y | ||
) | [inline] |
Calculates and returns value of the current 2D scalar function.
x | First parameter. |
y | Second parameter. |
z | Third parameter. |
Implements IG::Num::IFunc2d.
override void IG::Num::Func2dExamples::Func2dXY::Gradient | ( | double | x, |
double | y, | ||
out double | gradx, | ||
out double | grady | ||
) | [inline] |
Calculates gradient of the current 2D scalar function and returns its components through the specified output variables.
x | First parameter. |
y | Second parameter. |
z | Third parameter. |
gradx | First component of the returned gradient. |
grady | Second component of the returned gradient. |
gradz | Third component of the returned gradient. |
Implements IG::Num::IFunc2d.