2015-04-22 18:36:40 +02:00
|
|
|
#ifndef MATHUTILITIES_H
|
|
|
|
#define MATHUTILITIES_H
|
|
|
|
|
2015-09-06 20:19:09 +02:00
|
|
|
#include "../application/global.h"
|
2015-04-22 18:36:40 +02:00
|
|
|
|
2015-09-06 15:30:16 +02:00
|
|
|
namespace MathUtilities {
|
2015-04-22 18:36:40 +02:00
|
|
|
|
|
|
|
LIB_EXPORT int random(int lowerbounds, int upperbounds);
|
|
|
|
|
|
|
|
LIB_EXPORT int digitsum(int number, int base = 10);
|
|
|
|
|
|
|
|
LIB_EXPORT int factorial(int number);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // MATHUTILITIES_H
|