# Couenne::Qroot Class Reference

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

`#include <CouenneRootQ.hpp>`

List of all members.

## Public Member Functions
| Qroot ()
| Empty constructor -- we only need the method to work on the static structure.
| ~Qroot ()
| Empty destructor.
CouNumber | operator() (int k)
| Retrieve root of Q with order = k.
## Static Protected Attributes
static std::map< int, CouNumber > | Qmap
| Maps an integer k with the root of .

## 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`[static, protected]`

Maps an integer k with the root of .

Definition at line 35 of file CouenneRootQ.hpp.

Referenced by operator()().

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

- CouenneRootQ.hpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines