diff -r 05b3e173c900 -r 563a9b65777b src/basics.h --- a/src/basics.h Sat Mar 24 12:34:20 2018 +0200 +++ b/src/basics.h Sat Mar 24 12:46:40 2018 +0200 @@ -94,14 +94,9 @@ return vector.length(); } -using ApplyToMatrixFunction = std::function; -using ApplyToMatrixConstFunction = std::function; - -void applyToMatrix(class Matrix& a, ApplyToMatrixFunction func); -void applyToMatrix(const class Matrix& a, ApplyToMatrixConstFunction func); QString formatFileSize(qint64 size); int gcd(int a, int b); QString joinStrings(const QList& values, QString delimeter = " "); -void roundToDecimals(double& value, int decimals); +double roundToDecimals(double value, int decimals); class QSettings& settingsObject(); void simplify(int& numerator, int& denominator);