Secant.cpp File Reference


Detailed Description

This is a demonstration of how to use Secant.h
to compile: g++ -I. -lm Secant.cpp
description: this test the algorithm in 2 situations:
1) with no boudaries and a well defined solution 2) with boundaries, and a boundary solution

Definition in file Secant.cpp.

#include "Secant.h"
#include <math.h>

Include dependency graph for Secant.cpp:

Go to the source code of this file.

Classes

class  secant_functor
 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. More...

Functions

int main ()


Generated on Thu Sep 10 18:21:50 2009 for public_options by  doxygen 1.5.1