abs_max< T > Struct Template Reference

#include <univariate_bounds.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename T>
struct mmx::abs_max< T >

Definition at line 148 of file univariate_bounds.hpp.


Constructor & Destructor Documentation

abs_max (  )  [inline]

Definition at line 150 of file univariate_bounds.hpp.

00150 : max(T(-1)) {}


Member Function Documentation

void operator() ( const T &  x  )  [inline]

Definition at line 151 of file univariate_bounds.hpp.

References mmx::abs(), and abs_max< T >::max.

00152     {
00153         // using std::abs;
00154       T temp = abs(x);
00155       if (temp > max) max = temp;
00156     }


Member Data Documentation

T max

Definition at line 157 of file univariate_bounds.hpp.

Referenced by abs_max< T >::operator()(), and Cauchy< C >::upper_bound().


The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1