|
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
|
|