--- 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<void(int, double&)>; -using ApplyToMatrixConstFunction = std::function<void(int, double)>; - -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<class StringFormatArg>& values, QString delimeter = " "); -void roundToDecimals(double& value, int decimals); +double roundToDecimals(double value, int decimals); class QSettings& settingsObject(); void simplify(int& numerator, int& denominator);