RVLAlg::SteppedIterationTable< Scalar > Class Template Reference

This terminator never says to stop, but simply prints the current functional value and an associated scalar (ussually the step size). More...

#include <ioterm.hh>

Inheritance diagram for RVLAlg::SteppedIterationTable< Scalar >:

RVLAlg::Terminator List of all members.

Public Member Functions

 SteppedIterationTable (FunctionalEvaluation< Scalar > &_fx, Scalar &_step, ostream &_out=cout)
bool query ()

Protected Attributes

int count
FunctionalEvaluation< Scalar > & fx
Scalar & step
ostream & out

Detailed Description

template<class Scalar>
class RVLAlg::SteppedIterationTable< Scalar >

This terminator never says to stop, but simply prints the current functional value and an associated scalar (ussually the step size).

Definition at line 166 of file ioterm.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVLAlg::SteppedIterationTable< Scalar >::SteppedIterationTable ( FunctionalEvaluation< Scalar > &  _fx,
Scalar &  _step,
ostream &  _out = cout 
)

Definition at line 168 of file ioterm.hh.

References RVLAlg::SteppedIterationTable< Scalar >::out.


Member Function Documentation

template<class Scalar>
bool RVLAlg::SteppedIterationTable< Scalar >::query (  )  [virtual]

Implements RVLAlg::Terminator.

Definition at line 178 of file ioterm.hh.

References RVLAlg::SteppedIterationTable< Scalar >::count, RVLAlg::SteppedIterationTable< Scalar >::fx, RVLAlg::SteppedIterationTable< Scalar >::out, and RVLAlg::SteppedIterationTable< Scalar >::step.


Member Data Documentation

template<class Scalar>
int RVLAlg::SteppedIterationTable< Scalar >::count [protected]

Definition at line 192 of file ioterm.hh.

Referenced by RVLAlg::SteppedIterationTable< Scalar >::query().

template<class Scalar>
FunctionalEvaluation<Scalar>& RVLAlg::SteppedIterationTable< Scalar >::fx [protected]

Definition at line 193 of file ioterm.hh.

Referenced by RVLAlg::SteppedIterationTable< Scalar >::query().

template<class Scalar>
Scalar& RVLAlg::SteppedIterationTable< Scalar >::step [protected]

Definition at line 194 of file ioterm.hh.

Referenced by RVLAlg::SteppedIterationTable< Scalar >::query().

template<class Scalar>
ostream& RVLAlg::SteppedIterationTable< Scalar >::out [protected]

Definition at line 195 of file ioterm.hh.

Referenced by RVLAlg::SteppedIterationTable< Scalar >::query(), and RVLAlg::SteppedIterationTable< Scalar >::SteppedIterationTable().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RvlAlg by  doxygen 1.4.7