created miscfunc.h and .cc to separate some miscellaneous and special functions

This commit is contained in:
2024-03-20 17:25:21 +01:00
parent 9c666d2b5c
commit db964afe9f
7 changed files with 153 additions and 88 deletions

View File

@@ -198,9 +198,6 @@ public:
extern PERM_RANK_TYPE factorial(const int n);
extern PERM_RANK_TYPE binom(int n, int k);
extern PERM_RANK_TYPE longpow(PERM_RANK_TYPE x, int i);
//permutations represented in the cycle format
template <typename T>