Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Sources   Namespace Members   Compound Members   File Members  

test::vecone Class Reference

A test class, used for testing functions in the minimise namespace. More...

Class diagram for test::vecone:

func::multi_dimensional_with_derivatives func::multi_dimensional

List of all members.


Public Members

virtual double operator() ( const vector<double> & ) const
Calculate the function for a given argument. More...

virtual void evaluate ( const vector<double> &x, double &f, vector<double> &gradient ) const
Calculate the function and its derivatives for a given argument. More...


Detailed Description

A test class, used for testing functions in the minimise namespace.

Definition at line 166 of file test_minimise.cpp.


Member Function Documentation

virtual double test::vecone::operator() (const vector<double>& x) const [inline, virtual]

Calculate the function for a given argument.

Parameters:
x   the argument for which the function is to be calculated
Returns:
The value of the function for argument x.

Reimplemented from func::multi_dimensional.

Definition at line 170 of file test_minimise.cpp.

virtual void test::vecone::evaluate (const vector<double>& x, double & f, vector<double>& gradient) const [inline, virtual]

Calculate the function and its derivatives for a given argument.

Parameters:
x   the argument for which the function is to be calculated
Return values:
f   the value of the function for argument x
gradient   the derivative of the function for argument x

Reimplemented from func::multi_dimensional_with_derivatives.

Definition at line 177 of file test_minimise.cpp.


The documentation for this class was generated from the following file:
Generated at Sun Jul 14 20:38:21 2002 for Mapper by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999