30 void Simplify(int& numer, int& denom); |
30 void Simplify(int& numer, int& denom); |
31 |
31 |
32 using ApplyToMatrixFunction = std::function<void(int, double&)>; |
32 using ApplyToMatrixFunction = std::function<void(int, double&)>; |
33 using ApplyToMatrixConstFunction = std::function<void(int, double)>; |
33 using ApplyToMatrixConstFunction = std::function<void(int, double)>; |
34 |
34 |
35 void RoundToDecimals(double& a, int decimals); |
35 double RoundToDecimals(double a, int decimals); |
36 void ApplyToMatrix(Matrix& a, ApplyToMatrixFunction func); |
36 void ApplyToMatrix(Matrix& a, ApplyToMatrixFunction func); |
37 void ApplyToMatrix(const Matrix& a, ApplyToMatrixConstFunction func); |
37 void ApplyToMatrix(const Matrix& a, ApplyToMatrixConstFunction func); |
38 |
38 |
39 double GetCoordinateOf(const Vertex& a, Axis ax); |
39 double GetCoordinateOf(const Vertex& a, Axis ax); |
40 QString MakePrettyFileSize(qint64 size); |
40 QString MakePrettyFileSize(qint64 size); |