probparab Class Reference
Test Problem of a 3D parabola.
More...
#include <probparab.h>
List of all members.
|
Public Member Functions |
| void | operator() (double &fval) |
Public Attributes |
| double * | xi |
Detailed Description
Test Problem of a 3D parabola.
The state xi needs to be initialized.
Definition at line 14 of file probparab.h.
Member Function Documentation
| void probparab::operator() |
( |
double & |
fval |
) |
[inline] |
Definition at line 20 of file probparab.h.
References xi.
00021 {
00022 double a = xi[0]-1.0;
00023 double b = xi[1]-2.0;
00024 double c = xi[2]-5.0;
00025 fval = a*a+b*b+c*c;
00026 }
Member Data Documentation
The documentation for this class was generated from the following file: