Top
Back: 5.1.61 lead
Forward: 5.1.63 leadexp
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.62 leadcoef

Syntax:

leadcoef ( poly_expression )
leadcoef ( vector_expression )

Type:

number

Purpose:

returns the leading (or initial) coefficient of a polynomial or a vector with respect to the monomial ordering.

Example:
 
  ring r=32003,(x,y,z),(c,ds);
  poly f=x2+y+z3;
  vector v=[2*x^10,f];
  leadcoef(f);
→ 1
  leadcoef(v);
→ 2
  leadcoef(0);
→ 0

See lead; leadexp; leadmonom; number; poly; vector.


Top Back: 5.1.61 lead Forward: 5.1.63 leadexp FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.