FunctionR1toR1 Class Reference

An interface for a function from $\mathbf{R}^{1} \rightarrow \mathbf{R}^{1}$. More...

#include <FunctionR1toR1.h>

Inheritance diagram for FunctionR1toR1:

CubicSpline LinearSpline Polynomial CubicSplineWithGeometricProgressionGrid PowerSeries QMCPolynomial

List of all members.

Public Member Functions

virtual ~FunctionR1toR1 ()
 Virtual destructor.
virtual void evaluate (double x)=0
 Evaluates the function at $x$.
virtual double getFunctionValue ()=0
 Gets the function value at the last evaluated point.
virtual double getFirstDerivativeValue ()=0
 Gets the function's first deriviate at the last evaluated point.
virtual double getSecondDerivativeValue ()=0
 Gets the function's second deriviative at the last evaluated point.
double Brent_fmin (double ax, double bx, double tol)
double function (double x)
double minimum (double left, double right)


Detailed Description

An interface for a function from $\mathbf{R}^{1} \rightarrow \mathbf{R}^{1}$.

Definition at line 25 of file FunctionR1toR1.h.


Constructor & Destructor Documentation

virtual FunctionR1toR1::~FunctionR1toR1 (  )  [inline, virtual]

Virtual destructor.

Definition at line 31 of file FunctionR1toR1.h.


Member Function Documentation

virtual void FunctionR1toR1::evaluate ( double  x  )  [pure virtual]

Evaluates the function at $x$.

Parameters:
x point to evaluate the function.

Implemented in CubicSpline, CubicSplineWithGeometricProgressionGrid, LinearSpline, and Polynomial.

Referenced by function().

virtual double FunctionR1toR1::getFunctionValue (  )  [pure virtual]

Gets the function value at the last evaluated point.

Returns:
function value.

Implemented in CubicSpline, LinearSpline, and Polynomial.

Referenced by function().

virtual double FunctionR1toR1::getFirstDerivativeValue (  )  [pure virtual]

Gets the function's first deriviate at the last evaluated point.

Returns:
function's deriviative value.

Implemented in CubicSpline, LinearSpline, and Polynomial.

virtual double FunctionR1toR1::getSecondDerivativeValue (  )  [pure virtual]

Gets the function's second deriviative at the last evaluated point.

Returns:
function's second derivative value.

Implemented in CubicSpline, LinearSpline, and Polynomial.

double FunctionR1toR1::Brent_fmin ( double  ax,
double  bx,
double  tol 
)

Definition at line 81 of file FunctionR1toR1.cpp.

References function().

Referenced by minimum().

double FunctionR1toR1::function ( double  x  ) 

Definition at line 209 of file FunctionR1toR1.cpp.

References evaluate(), and getFunctionValue().

Referenced by Brent_fmin(), and QMCEigenSearch::get_a_diag().

double FunctionR1toR1::minimum ( double  left,
double  right 
)

Definition at line 215 of file FunctionR1toR1.cpp.

References Brent_fmin().

Referenced by QMCEigenSearch::get_a_diag().


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

Generated on Sat Jul 5 16:14:01 2008 for QMcBeaver by  doxygen 1.5.6