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

D.7.8.2 whichvariable

Procedure from library rootsur.lib (see rootsur_lib).

Usage:
whichvariable(p); poly p

Return:
poly: if p is a univariate monomial, the variable. Otherwise 0.

Assume:
p is a monomial

Example:
 
LIB "rootsur.lib";
ring r = 0,(x,y),dp;
whichvariable(x5);
==> x
whichvariable(x3y);
==> 0
isuni


Top Back: isuni Forward: varsigns 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.