Top
Back: interpretList
Forward: simplePrune
FastBack:
FastForward:
Up: modules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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


Top Back: interpretList Forward: simplePrune FastBack: FastForward: Up: modules_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.