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

D.12.4.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