Home Online Manual
Top
Back: teachstd_lib
Forward: tail
FastBack: hyperel_lib
FastForward: weierstr_lib
Up: teachstd_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.5.1 ecart

Procedure from library teachstd.lib (see teachstd_lib).

Usage:
ecart(f); f poly or vector

Return:
the ecart e of f of type int

Example:
 
LIB "teachstd.lib";
ring r=0,(x,y,z),ls;
ecart((y+z+x+xyz)**2);
==> 4
ring s=0,(x,y,z),dp;
ecart((y+z+x+xyz)**2);
==> 0