diff options
Diffstat (limited to 'src/polynomial.h')
-rw-r--r-- | src/polynomial.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/polynomial.h b/src/polynomial.h index ec50227..6aff76d 100644 --- a/src/polynomial.h +++ b/src/polynomial.h @@ -99,14 +99,18 @@ int polynomial_sort(Polynomial* polynomial, int begin, int end); int exchange_polynomial_terms(int i, int j, Polynomial* polynomial); // sort a monomial (with sign coming from exchanging two Fermions) -int monomial_sort(Int_Array monomial, int begin, int end, Fields_Table fields, int* sign); +int monomial_sort(Int_Array monomial, Fields_Table fields, int* sign); +// without noncommuting terms +int monomial_sort_nonc(Int_Array monomial, int begin, int end, Fields_Table fields, int* sign); // order fields: parameter, external, internal int compare_monomial_terms(Int_Array monomial, int pos1, int pos2, Fields_Table fields); // exchange two fields (with sign) int exchange_monomial_terms(Int_Array monomial, int pos1, int pos2, Fields_Table fields, int* sign); // sort a monomial by putting each group together -int monomial_sort_groups(Int_Array monomial, int begin, int end, Fields_Table fields, Groups groups, int* sign); +int monomial_sort_groups(Int_Array monomial, Fields_Table fields, Groups groups, int* sign); +// without noncommuting terms +int monomial_sort_groups_nonc(Int_Array monomial, int begin, int end, Fields_Table fields, Groups groups, int* sign); // order fields: group, then parameter, external, internal int compare_monomial_terms_groups(Int_Array monomial, int pos1, int pos2, Fields_Table fields, Groups groups); |