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

IG::Num::Func3dExamples::Func3dXYZ Class Reference

Function f(x, y, z) = x * y * z. Value and gradient are defined. More...

Inheritance diagram for IG::Num::Func3dExamples::Func3dXYZ:
Collaboration diagram for IG::Num::Func3dExamples::Func3dXYZ:

List of all members.

Public Member Functions

override double Value (double x, double y, double z)
 Calculates and returns value of the current 3D scalar function.
override void Gradient (double x, double y, double z, out double gradx, out double grady, out double gradz)
 Calculates gradient of the current 3D scalar function and returns its components through the specified output variables.

Detailed Description

Function f(x, y, z) = x * y * z.

Value and gradient are defined.


Member Function Documentation

override double IG::Num::Func3dExamples::Func3dXYZ::Value ( double  x,
double  y,
double  z 
) [inline]

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

Parameters:
xFirst parameter.
ySecond parameter.
zThird parameter.

Implements IG::Num::IFunc3d.

override void IG::Num::Func3dExamples::Func3dXYZ::Gradient ( double  x,
double  y,
double  z,
out double  gradx,
out double  grady,
out double  gradz 
) [inline]

Calculates gradient of the current 3D 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::IFunc3d.


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