proj home

Files   Classes   Functions   Hierarchy  

probparab Class Reference

Test Problem of a 3D parabola. More...

#include <probparab.h>

Collaboration diagram for probparab:

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

double* probparab::xi

Definition at line 18 of file probparab.h.

Referenced by operator()().


The documentation for this class was generated from the following file:

Generated on Fri Mar 4 00:50:11 2011 for Chelton Evans Source by  doxygen 1.5.8