update
This commit is contained in:
@ -74,8 +74,8 @@ static const int perm_failure = -1;
|
||||
int factorial(int n);
|
||||
|
||||
//Iteratable Permutation Class
|
||||
//Provides an object for iterating over permutations of low dimension
|
||||
//These can be stepped along
|
||||
//Provides an object for iterating over permutations of low order (<=12)
|
||||
//These can be stepped along in a loop
|
||||
class ipermutation
|
||||
{
|
||||
public:
|
||||
@ -172,8 +172,6 @@ class permutation
|
||||
int& at(const int ind);
|
||||
const int& at(const int ind) const;
|
||||
|
||||
|
||||
|
||||
static permutation first(int length);
|
||||
static permutation last(int length);
|
||||
|
||||
@ -182,8 +180,11 @@ class permutation
|
||||
|
||||
int _intl_calculate_mindex(int *mindex, int *wrk);
|
||||
int levi_civita();
|
||||
|
||||
void print(int style);
|
||||
};
|
||||
|
||||
void test_permutation1();
|
||||
|
||||
}; //end namespace perm
|
||||
}; //end namespace ams
|
||||
|
||||
Reference in New Issue
Block a user