Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Protected Attributes | List of all members
Couenne::Qroot Class Reference

class that stores result of previous calls to rootQ into a map for faster access More...

#include <CouenneRootQ.hpp>

Public Member Functions

 Qroot ()
 Empty constructor – we only need the method to work on the static structure. More...
 
 ~Qroot ()
 Empty destructor. More...
 
CouNumber operator() (int k)
 Retrieve root of Q with order = k. More...
 

Static Protected Attributes

static std::map< int, CouNumberQmap
 Maps an integer k with the root of $Q^k(x)$. More...
 

Detailed Description

class that stores result of previous calls to rootQ into a map for faster access

Definition at line 29 of file CouenneRootQ.hpp.

Constructor & Destructor Documentation

Couenne::Qroot::Qroot ( )
inline

Empty constructor – we only need the method to work on the static structure.

Definition at line 41 of file CouenneRootQ.hpp.

Couenne::Qroot::~Qroot ( )
inline

Empty destructor.

Definition at line 44 of file CouenneRootQ.hpp.

Member Function Documentation

CouNumber Couenne::Qroot::operator() ( int  k)
inline

Retrieve root of Q with order = k.

If no such computation has been performed yet, do it here

Definition at line 49 of file CouenneRootQ.hpp.

References Qmap, and Couenne::rootQ().

Member Data Documentation

std::map<int, CouNumber> Couenne::Qroot::Qmap
staticprotected

Maps an integer k with the root of $Q^k(x)$.

Definition at line 35 of file CouenneRootQ.hpp.

Referenced by operator()().


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