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

IG::Gr3d::VtkPlotBase::ExampleFunc2dSquare Class Reference

Function f(x,y)=x*x+y*y. More...

Inheritance diagram for IG::Gr3d::VtkPlotBase::ExampleFunc2dSquare:
Collaboration diagram for IG::Gr3d::VtkPlotBase::ExampleFunc2dSquare:

List of all members.

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.

Detailed Description

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


Member Function Documentation

override double IG::Gr3d::VtkPlotBase::ExampleFunc2dSquare::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::Gr3d::VtkPlotBase::ExampleFunc2dSquare::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.
gradxFirst component of the returned gradient.
gradySecond component of the returned gradient.

Implements IG::Num::IFunc2d.


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