#include <iostream>
#include <time.h>
Go to the source code of this file.
◆ Abs
| #define Abs |
( |
|
x | ) |
((x) < 0 ? -(x) : (x)) |
◆ Assert
Value: if(!(c))\
{std::cout << "\nAssertion violation " << __FILE__ << ":" << __LINE__ << std::endl;}
Definition at line 57 of file util.h.
◆ Assert0
◆ Assert1
◆ Assert2
◆ Assert3
◆ Assert4
◆ Assert5
◆ Debug0
◆ Debug1
◆ Debug2
◆ Debug3
◆ Debug4
◆ Debug5
◆ Debug6
◆ DEBUGLEVEL
◆ Error
| #define Error |
( |
|
s | ) |
{std::cout << "\nError:" << s << " " << __FILE__ << ":" << __LINE__ << std::endl;} |
◆ Max
| #define Max |
( |
|
x, |
|
|
|
y |
|
) |
| ((x)>=(y)?(x):(y)) |
◆ Min
| #define Min |
( |
|
x, |
|
|
|
y |
|
) |
| ((x)<=(y)?(x):(y)) |
◆ PI
◆ cpuTime()
◆ limit()
| double limit |
( |
double |
x, |
|
|
double |
bound |
|
) |
| |
|
inline |