31 void Simplify (int& numer, int& denom); |
31 void Simplify (int& numer, int& denom); |
32 |
32 |
33 using ApplyToMatrixFunction = std::function<void (int, double&)>; |
33 using ApplyToMatrixFunction = std::function<void (int, double&)>; |
34 using ApplyToMatrixConstFunction = std::function<void (int, double)>; |
34 using ApplyToMatrixConstFunction = std::function<void (int, double)>; |
35 |
35 |
36 void RoundToDecimals (double& a, int decimals); |
36 void roundToDecimals (double& a, int decimals); |
37 void ApplyToMatrix (Matrix& a, ApplyToMatrixFunction func); |
37 void applyToMatrix (Matrix& a, ApplyToMatrixFunction func); |
38 void ApplyToMatrix (const Matrix& a, ApplyToMatrixConstFunction func); |
38 void applyToMatrix (const Matrix& a, ApplyToMatrixConstFunction func); |
39 |
39 |
40 double GetCoordinateOf (const Vertex& a, Axis ax); |
40 double getCoordinateOf (const Vertex& a, Axis ax); |
41 QString MakePrettyFileSize (qint64 size); |
41 QString makePrettyFileSize (qint64 size); |
42 |
42 |
43 QString Join (QList<StringFormatArg> vals, QString delim = " "); |
43 QString Join (QList<StringFormatArg> vals, QString delim = " "); |
44 |
44 |
45 // Grid stuff |
45 // Grid stuff |
46 struct GridData |
46 struct GridData |