Top
Back: option
Forward: ordstr
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.101 ord

Syntax:
ord ( poly_expression )
ord ( vector_expression )
Type:
int
Purpose:
returns the (weighted) degree of the initial term of a polynomial or a vector; the weights are the weights used for the first block of the ring ordering.
Note:
ord(0) is -1.
In a global degree ordering ord is the same as deg.
Example:
 
See deg; poly; vector.

Top Back: option Forward: ordstr 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.