Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

basic.h

Go to the documentation of this file.
00001 #ifndef __BASIC_H
00002 #define __BASIC_H
00003 
00004 #include <cmath>
00005 #include <dolfin/constants.h>
00006 
00007 namespace dolfin {
00008 
00009   int max(int x, int y);
00010   int min(int x, int y);
00011 
00013   real abs(real x);
00014 
00016   real sqr(real x);
00017 
00019   real max(real x, real y);
00020 
00022   real min(real x, real y);
00023 
00025   real rand();
00026 
00027   int round_int(real x);
00028   int floor_int(real x);
00029   int ceil_int(real x);
00030 
00031 }
00032 
00033 #endif


Documentation automatically generated with Doxygen on 10 Sep 2004.