Singular Manual: compareVectors

| #### D.4.17.51 compareVectors Procedure from library `modules.lib` (see modules_lib). Usage: compareVector(V1,V2); Vector V1,V2 Return: compares the given Vectors up tu equivalence Example:
    LIB "modules.lib";
    ring r;
    matrix m[2][1] = x,-y;
    Module M = subquotient(id(2),m);
    Vector V = [x,y],M;
    Vector W = [0,2y],M;
    Vector U = [x,y2],M;
    compareVectors(V,W);
    ==> 1
    compareVectors(U,V);
    ==> 0

User manual for Singular version 4.3.0p1, 2022, generated by texi2html.