Top
Back: whichvariable
Forward: boundBuFou
FastBack: signcond_lib
FastForward: Visualization
Up: rootsur_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.7.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
boundposDes


Top Back: whichvariable Forward: boundBuFou FastBack: signcond_lib FastForward: Visualization Up: rootsur_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-0-1, October 2005, generated by texi2html.