* Compare 3 given intvecs and return 0, if the first * * and the second are the same. Return 1, if the * * the second and the third are the same, otherwise 2 * ******************************************************/
| 913 | * the second and the third are the same, otherwise 2 * |
| 914 | ******************************************************/ |
| 915 | int M3ivSame(intvec* temp, intvec* u , intvec* v) |
| 916 | { |
| 917 | assume(temp->length() == u->length() && u->length() == v->length()); |
| 918 | |
| 919 | if((MivSame(temp, u)) == 1) |
| 920 | { |
| 921 | return 0; |
| 922 | } |
| 923 | if((MivSame(temp, v)) == 1) |
| 924 | { |
| 925 | return 1; |
| 926 | } |
| 927 | return 2; |
| 928 | } |
| 929 | |
| 930 | /***************************************************** |
| 931 | * compute a Groebner basis of an ideal * |