MCPcopy Create free account
hub / github.com/Singular/Singular / M3ivSame

Function M3ivSame

Singular/walk.cc:915–928  ·  view source on GitHub ↗

* 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 * ******************************************************/

Source from the content-addressed store, hash-verified

913 * the second and the third are the same, otherwise 2 *
914 ******************************************************/
915int 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 *

Callers 1

jjSYSTEMFunction · 0.85

Calls 2

MivSameFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected