IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Num::Func3d2dBase::ComponentFunction1 Class Reference

Class that represents a scalar function of 2 variables that is the first component of the specified 3D vector function of 2 variables. More...

Inheritance diagram for IG::Num::Func3d2dBase::ComponentFunction1:
Collaboration diagram for IG::Num::Func3d2dBase::ComponentFunction1:

List of all members.

Public Member Functions

 ComponentFunction1 (IFunc3d2d func)
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.
override void Hessian (double x, double y, out double dxx, out double dyy, out double dxy)
 Calculates Hessian of the current 2D scalar function and returns its component through the specified output variables.

Detailed Description

Class that represents a scalar function of 2 variables that is the first component of the specified 3D vector function of 2 variables.


Constructor & Destructor Documentation

IG::Num::Func3d2dBase::ComponentFunction1::ComponentFunction1 ( IFunc3d2d  func) [inline]

Member Function Documentation

override double IG::Num::Func3d2dBase::ComponentFunction1::Value ( double  x,
double  y 
) [inline]

Calculates and returns value of the current 2D scalar function.

Parameters:
xFirst parameter.
ySecond parameter.
zThird parameter.

Implements IG::Num::IFunc2d.

override void IG::Num::Func3d2dBase::ComponentFunction1::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.

Parameters:
xFirst parameter.
ySecond parameter.
zThird parameter.
gradxFirst component of the returned gradient.
gradySecond component of the returned gradient.
gradzThird component of the returned gradient.

Implements IG::Num::IFunc2d.

override void IG::Num::Func3d2dBase::ComponentFunction1::Hessian ( double  x,
double  y,
out double  dxx,
out double  dyy,
out double  dxy 
) [inline]

Calculates Hessian of the current 2D scalar function and returns its component through the specified output variables.

Parameters:
xFirst parameter.
ySecond parameter.
dxxComponent 1-1 of the calculated Hessian.
dyyComponent 2-2 of the calculated Hessian.
dxyComponent 1-2 of the calculated Hessian.

Implements IG::Num::IFunc2d.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events