secant_functor Class Reference

List of all members.

Detailed Description

This is a functor which encapsulates the function: exp(x) - offset. The function variable is x. Offset is a hidden variable. This class is used to demonstrate the SecantSolve0< functor, real > template class, in the test file Secant.cpp.

Definition at line 13 of file Secant.cpp.

Public Member Functions

 secant_functor (double offset)
 the creator for secant_functor, which assigns the hidden variable offset.
double f (double x)
 the function to be solved
 secant_functor (double offset)
 the creator for secant_functor, which assigns the hidden variable offset.
double f (double x)
 the function to be solved

Public Attributes

double _offset
 the hidden variable for class secant_functor, which makes this class a functor, as opposed to a group of function pointers


The documentation for this class was generated from the following files:
Generated on Fri Jan 7 12:36:19 2011 for public_options by  doxygen 1.5.1