Commit a41b5df9 authored by Kirill Terekhov's avatar Kirill Terekhov

Code for tests with hypergraph in mlmptiluc (will be changed later)

parent 405a499d
Pipeline #276 canceled with stages
...@@ -75,6 +75,19 @@ class MLMTILUC_preconditioner : public Method ...@@ -75,6 +75,19 @@ class MLMTILUC_preconditioner : public Method
//__INLINE static bool check_zero(INMOST_DATA_REAL_TYPE u) { return 1 + u == 1; } //__INLINE static bool check_zero(INMOST_DATA_REAL_TYPE u) { return 1 + u == 1; }
//__INLINE static bool check_zero(INMOST_DATA_REAL_TYPE u) { return u == 0; } //__INLINE static bool check_zero(INMOST_DATA_REAL_TYPE u) { return u == 0; }
//__INLINE static bool check_zero(INMOST_DATA_REAL_TYPE u) { return fabs(u) < 1.0e-13; } //__INLINE static bool check_zero(INMOST_DATA_REAL_TYPE u) { return fabs(u) < 1.0e-13; }
void CheckBlock(const Block& b,
const interval<INMOST_DATA_ENUM_TYPE, Interval>& Address,
const std::vector< std::vector<Sparse::Row::entry> >& Entries,
const interval<INMOST_DATA_ENUM_TYPE, INMOST_DATA_ENUM_TYPE>& localQ,
INMOST_DATA_ENUM_TYPE sepbeg,
INMOST_DATA_ENUM_TYPE sepend,
std::string file, int line);
void CheckBlock(const Block& b,
const interval<INMOST_DATA_ENUM_TYPE, Interval>& Address,
const std::vector< std::vector<Sparse::Row::entry> >& Entries,
INMOST_DATA_ENUM_TYPE sepbeg,
INMOST_DATA_ENUM_TYPE sepend,
std::string file, int line);
void DumpMatrix(const interval<INMOST_DATA_ENUM_TYPE, Interval> & Address, void DumpMatrix(const interval<INMOST_DATA_ENUM_TYPE, Interval> & Address,
const std::vector< std::vector<Sparse::Row::entry> > & Entries, const std::vector< std::vector<Sparse::Row::entry> > & Entries,
INMOST_DATA_ENUM_TYPE wmbeg, INMOST_DATA_ENUM_TYPE wmend, INMOST_DATA_ENUM_TYPE wmbeg, INMOST_DATA_ENUM_TYPE wmend,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment