Programming tasks to Scientific Computing I
Classes | Namespaces | Macros | Functions | Variables
aol.h File Reference
#include <cmath>
#include <cstdio>
#include <cstdarg>
#include <cstdlib>
#include <cstring>
#include <memory>
#include <complex>
#include <limits>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#include <typeinfo>
#include <chrono>
#include <stdexcept>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/timeb.h>
#include <unistd.h>
#include <dirent.h>
#include <malloc.h>
#include <stdint.h>

Go to the source code of this file.

Classes

class  aol::Op< _DomainType, _RangeType >
 

Namespaces

 aol
 
 aol::color
 table of ansi color codes
 

Macros

#define WARNING_OFF(WARN)
 platform dependent More...
 
#define WARNING_ON(WARN)
 

Functions

template<class T >
aol::Min (const T a, const T b)
 
template<class T >
aol::Max (const T a, const T b)
 
template<class T >
aol::Clamp (const T Value, const T Min, const T Max)
 
template<class T >
aol::Sqr (const T a)
 
template<class T >
aol::signum (const T x)
 Signum function template, signum ( 0 ) = 0. More...
 
string aol::strprintf (const char *format,...)
 Give back formatted string, analogously to sprintf, but save the long way 'round with char arrays. More...
 
void aol::makeDirectory (const char *DirectoryName, bool verbose)
 
bool aol::fileExists (std::string filename)
 

Variables

const string aol::color::reset = "\033[0;0m"
 
const string aol::color::invert = "\033[0;7m"
 
const string aol::color::black = "\033[0;30m"
 
const string aol::color::red = "\033[0;31m"
 
const string aol::color::green = "\033[0;32m"
 
const string aol::color::brown = "\033[0;33m"
 
const string aol::color::blue = "\033[0;34m"
 
const string aol::color::purple = "\033[0;35m"
 
const string aol::color::cyan = "\033[0;36m"
 
const string aol::color::light_grey = "\033[0;37m"
 
const string aol::color::dark_grey = "\033[1;30m"
 
const string aol::color::light_red = "\033[1;31m"
 
const string aol::color::light_green = "\033[1;32m"
 
const string aol::color::yellow = "\033[1;33m"
 
const string aol::color::light_blue = "\033[1;34m"
 
const string aol::color::pink = "\033[1;35m"
 
const string aol::color::light_cyan = "\033[1;36m"
 
const string aol::color::white = "\033[1;37m"
 
const string aol::color::beep = "\007"
 
const string aol::color::error = beep + red
 
const string aol::color::ok = green
 
const string aol::color::residuum = blue
 

Macro Definition Documentation

#define WARNING_OFF (   WARN)

platform dependent

Definition at line 79 of file aol.h.

#define WARNING_ON (   WARN)

Definition at line 80 of file aol.h.