Macaulay2 Engine
Loading...
Searching...
No Matches

◆ rawLLL()

M2_bool rawLLL ( MutableMatrix * M,
MutableMatrix * U,
gmp_QQ threshold,
int strategy )

Definition at line 605 of file mutable-matrix.cpp.

609{
610 if (strategy == 0)
611 {
612 return LLLoperations::LLL(M, U, threshold);
613 }
614
615 if (strategy == 4) // fplll, pfush...
616 {
617 return fp_LLL(M, U, strategy);
618 }
619
620 long a = mpz_get_si(mpq_numref(threshold));
621 long b = mpz_get_si(mpq_denref(threshold));
622 return ntl_LLL(M, U, a, b, strategy);
623}
static bool LLL(MutableMatrix *M, MutableMatrix *U, gmp_QQ threshold)
Definition LLL.cpp:356
bool fp_LLL(MutableMatrix *M, MutableMatrix *U, int strategy)
bool ntl_LLL(MutableMatrix *M, MutableMatrix *U, long numer, long denom, int strategy)

References fp_LLL(), LLLoperations::LLL(), and ntl_LLL().