Home Online Manual
Top
Back: whichvariable
Forward: boundBuFou
FastBack: rootsmr_lib
FastForward: Tropical Geometry
Up: rootsur_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.8.3 varsigns

Procedure from library rootsur.lib (see rootsur_lib).

Usage:
varsigns(l); list l.

Return:
int: the number of sign changes in the list l

Example:
 
LIB "rootsur.lib";
ring r = 0,x,dp;
list l = 1,2,3;
varsigns(l);
==> 0
l = 1,-1,2,-2,3,-3;
varsigns(l);
==> 5
See also: boundposDes.