trop de trucs
All checks were successful
Linux arm64 / Build (push) Successful in 2m33s

This commit is contained in:
2024-05-14 13:00:59 +02:00
parent d9e49d1319
commit a135df2e96
14 changed files with 98 additions and 214 deletions

View File

@@ -10,7 +10,7 @@
#include <string>
#include <vector>
#include "BigInt.h"
#include "NR.h"
/**
* \class Matrix
@@ -18,7 +18,7 @@
*/
class Matrix {
public:
typedef long double Element;
typedef NR Element;
typedef std::vector<Element>::iterator iterator;
private:
@@ -151,7 +151,7 @@ class Matrix {
iterator begin();
iterator end();
iterator GetLineIterator(std::size_t a_Raw);
};
@@ -171,6 +171,6 @@ inline bool IsEqualZero(const long& var) {
}
template <>
inline bool IsEqualZero(const BigInt& var) {
return var.IsEqualZero();
}
inline bool IsEqualZero(const NR& var) {
return var == 0;
}