26 static_assert(dim>0,
"dim must be > 0.");
27 typedef long long int IntValueType;
28 typedef Eigen::Matrix<double,dim,dim> MatrixDimD;
29 typedef Eigen::Matrix<int,dim,dim> MatrixDimI;
30 typedef Eigen::Matrix<IntValueType,dim,dim> MatrixInt;
32 static constexpr int64_t maxDen=100000;
35 static IntValueType gcd(
const IntValueType&
a,
const IntValueType&
b);
38 static IntValueType lcm(
const IntValueType&
a,
const IntValueType&
b);
41 static std::pair<MatrixInt,IntValueType> compute(
const MatrixDimD& R);
43 const std::pair<MatrixInt,IntValueType> returnPair;