CoxIter
1.2
CoxIter - Computing invariants of hyperbolic Coxeter groups
|
Some mathematical functions. More...
#include <string>
#include <vector>
#include <map>
#include <gmpxx.h>
Go to the source code of this file.
Namespaces | |
MathTools | |
Functions | |
bool | MathTools::bIsPrime (unsigned int iN) |
template<typename Type > | |
std::enable_if< std::is_unsigned< Type >::value, Type >::type | MathTools::iSQRT (Type iN) |
template<typename Type > | |
std::enable_if< std::is_unsigned< Type >::value, Type >::type | MathTools::iSQRTsup (Type iN) |
template<typename Type > | |
vector< typename std::enable_if< std::is_unsigned< Type >::value, Type >::type > | MathTools::iListDivisors (const Type &iN, const bool &bNonTrivialOnly=false) |
template<typename Type > | |
std::enable_if< std::is_unsigned< Type >::value, Type >::type | MathTools::ugcd (Type u, Type v) |
int | MathTools::iJacobiSymbol (int iA, unsigned int iB) |
vector< unsigned int > | MathTools::iPrimeFactorsWithoutSquares (unsigned int iN) |
template<typename Type > | |
vector< Type > | MathTools::iPrimeFactors (const Type &iN) |
template<typename Type > | |
std::enable_if< std::is_unsigned< Type >::value, map< Type, unsigned int > >::type | MathTools::iPrimeDecomposition (Type iN) |
template<typename Type > | |
Type | MathTools::iRemoveSquareFactors (Type iN) |
template<typename Type > | |
Type | MathTools::iCeilQuotient (const Type &iNumerator, const Type &iDenominator) |
template<typename Type > | |
std::enable_if< std::is_unsigned< Type >::value, Type >::type | MathTools::iSQRTQuotient (const Type &iNumerator, const Type &iDenominator) |
mpz_class | MathTools::iSQRTQuotient (const mpz_class &iNumerator, const mpz_class &iDenominator) |
mpz_class | MathTools::iSQRTsupQuotient (const mpz_class &iNumerator, const mpz_class &iDenominator) |
template<typename Type > | |
std::enable_if< std::is_unsigned< Type >::value, Type >::type | MathTools::iSQRTsupQuotient (const Type &iNumerator, const Type &iDenominator) |
Some mathematical functions.