#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 FILIB_AVAILABLE |
Definition at line 52 of file standard.h.
#define FILIB_EXTENDED |
Definition at line 57 of file standard.h.
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] |
long pow | ( | int | a, | |
int | b | |||
) | [inline] |
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] |
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().
bool operator< | ( | const interval< Type > & | x, | |
const interval< Type > & | y | |||
) | [inline] |
Definition at line 61 of file standard.h.