Home Online Manual
Top
Back: par
Forward: parstr
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.109 pardeg

Syntax:
pardeg ( number_expression )
Type:
int
Purpose:
returns the degree of a number considered as a polynomial in the ring parameters.
Example:
 
  ring r=(0,a,b,c),(x,y,z),dp;
  pardeg(a^2*b);
==> 3
See deg; number; ring; var.