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.7.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.3.1, 2022, generated by texi2html.