29 class QColor; |
29 class QColor; |
30 class QAction; |
30 class QAction; |
31 |
31 |
32 // Prime numbers |
32 // Prime numbers |
33 extern const int g_primes[NUM_PRIMES]; |
33 extern const int g_primes[NUM_PRIMES]; |
34 |
|
35 // Returns whether a given string represents a floating point number. |
|
36 bool numeric (const QString& tok); |
|
37 |
34 |
38 // Simplifies the given fraction. |
35 // Simplifies the given fraction. |
39 void simplify (int& numer, int& denom); |
36 void simplify (int& numer, int& denom); |
40 |
37 |
41 using ApplyToMatrixFunction = std::function<void (int, double&)>; |
38 using ApplyToMatrixFunction = std::function<void (int, double&)>; |