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

D.12.8.1 isuni

Procedure from library rootsur.lib (see rootsur_lib).

Usage:
isuni(p); poly p;

Return:
poly: if p is a univariate polynomial, it returns the variable. If not, zero.

Example:
 
LIB "rootsur.lib";
ring r = 0,(x,y),dp;
poly p = 6x7-3x2+2x-15/7;
isuni(p);
==> x
isuni(p*y);
==> 0
See also: whichvariable.


Top Back: rootsur_lib Forward: whichvariable FastBack: FastForward: Up: rootsur_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.