Top
Back: defined
Forward: degree
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.16 deg

Syntax:
deg ( poly_expression )
deg ( vector_expression )
deg ( poly_expression , intvec_expression )
deg ( vector_expression , intvec_expression )
Type:
int
Purpose:
returns the maximal (weighted) degree of the terms of a polynomial or a vector;
deg(0) is -1.
The optional second argument gives the weight vector, otherwise weight 1 is used for lex orderings and block ordering, the default weights of the base ring are used for orderings consisting of one block.

Example:
 
See jet; ord; poly; vector.

Top Back: defined Forward: degree FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.