Documentation


nr::powell< TraitsT >::TooManyIterations Struct Reference

#include <powell.h>

List of all members.


Detailed Description

template<class TraitsT = Old_Traits<>>
struct nr::powell< TraitsT >::TooManyIterations

Exception thrown when the maximum number of iterations is reached.

Definition at line 129 of file powell.h.

Public Member Functions

 TooManyIterations (unsigned int n, Real f)
 Constructor.

Member method used to display the exception:
void print (std::ostream &str) const
 Print exception on output stream str.


Public Attributes

unsigned int nbIterations
 number of iterations

Real functionValue
 current value of the function


Constructor & Destructor Documentation

template<class TraitsT = Old_Traits<>>
nr::powell< TraitsT >::TooManyIterations::TooManyIterations unsigned int  n,
Real  f
[inline]
 

Constructor.

Definition at line 135 of file powell.h.


Member Function Documentation

template<class TraitsT = Old_Traits<>>
void nr::powell< TraitsT >::TooManyIterations::print std::ostream &  str  )  const [inline]
 

Print exception on output stream str.

Definition at line 145 of file powell.h.


Member Data Documentation

template<class TraitsT = Old_Traits<>>
Real nr::powell< TraitsT >::TooManyIterations::functionValue
 

current value of the function

Definition at line 132 of file powell.h.

template<class TraitsT = Old_Traits<>>
unsigned int nr::powell< TraitsT >::TooManyIterations::nbIterations
 

number of iterations

Definition at line 131 of file powell.h.


The documentation for this struct was generated from the following file:
Generated on Thu Dec 23 13:52:34 2004 by doxygen 1.3.6