update hieplm

This commit is contained in:
2026-01-05 13:37:48 +07:00
parent fb03bdf2e8
commit 5c276afb34
18 changed files with 327 additions and 59 deletions

11
utils/include/utils.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef UTILIS_MSGS_H
#define UTILIS_MSGS_H
#include <cmath>
template <typename T>
bool isEqual(const T& a, const T& b, double eps = 1e-5)
{
return std::fabs(a - b) < eps;
}
#endif // UTILIS_MSGS_H