1 /* 2 3 Cadabra: a field-theory motivated computer algebra system. 4 Copyright (C) 2001-2009 Kasper Peeters <kasper.peeters@aei.mpg.de> 5 6 This program is free software: you can redistribute it and/or 7 modify it under the terms of the GNU General Public License as 8 published by the Free Software Foundation, either version 3 of the 9 License, or (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 19 */ 20 21 #ifndef xperm_h_ 22 #define xperm_h_ 23 24 void canonical_perm(int *perm, 25 int SGSQ, int *base, int bl, int *GS, int m, int n, 26 int *freeps, int fl, int *dummyps, int dl, int ob, int metricQ, 27 int *cperm); 28 29 void canonical_perm_ext(int *perm, int n, 30 int SGSQ, int *base, int bl, int *GS, int m, 31 int *frees, int fl, 32 int *vds, int vdsl, int *dummies, int dl, int *mQ, 33 int *vrs, int vrsl, int *repes, int rl, 34 int *cperm); 35 36 void inverse(int *p, int *ip, int n); 37 int onpoints(int point, int *p, int n); 38 void copy_list(int *list1, int *list2, int n); 39 40 41 #endif 42