standard.h File Reference

#include "LaGOConfig.h"
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <cassert>
#include <iostream>
#include <iomanip>
#include <fstream>
#include "interval/interval.hpp"
#include "tools.h"
#include "uservector.h"

Include dependency graph for standard.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Defines

#define FILIB_AVAILABLE
#define FILIB_EXTENDED

Functions

double sqrt (int x)
long pow (int a, unsigned int b)
long pow (int a, int b)
double closestint (const double &x)
double upperint (const double &x)
double lowerint (const double &x)
double integrality_violation (const double &x)
double project (const double &x, const double &low, const double &up)
 Projects a value onto an interval.
template<class Type>
bool operator< (const interval< Type > &x, const interval< Type > &y)


Define Documentation

#define FILIB_AVAILABLE

Definition at line 52 of file standard.h.

#define FILIB_EXTENDED

Definition at line 57 of file standard.h.


Function Documentation

double sqrt ( int  x  )  [inline]

Definition at line 28 of file standard.h.

Referenced by UserVector< double >::dist(), and UserVector< double >::standard_deviation().

long pow ( int  a,
unsigned int  b 
) [inline]

Definition at line 30 of file standard.h.

Referenced by pow().

long pow ( int  a,
int  b 
) [inline]

Definition at line 31 of file standard.h.

References pow().

double closestint ( const double &  x  )  [inline]

Definition at line 34 of file standard.h.

Referenced by integrality_violation(), and Round::round().

double upperint ( const double &  x  )  [inline]

Definition at line 35 of file standard.h.

double lowerint ( const double &  x  )  [inline]

Definition at line 36 of file standard.h.

double integrality_violation ( const double &  x  )  [inline]

Definition at line 37 of file standard.h.

References closestint().

double project ( const double &  x,
const double &  low,
const double &  up 
) [inline]

Projects a value onto an interval.

Definition at line 41 of file standard.h.

Referenced by Round::round().

template<class Type>
bool operator< ( const interval< Type > &  x,
const interval< Type > &  y 
) [inline]

Definition at line 61 of file standard.h.


Generated on Mon Oct 20 03:12:21 2008 for LaGO by  doxygen 1.4.7