Name:

degree gives the degree of a polynomial.

Library name:

sollya_obj_t sollya_lib_degree(sollya_obj_t)

Usage:

degree(f) : function -> integer

Parameters:

Description:

Example 1:

   > degree((1+x)*(2+5*x^2));
   3
   > degree(0);
   0

Example 2:

   > degree(sin(x));
   -1
See also: coeff, subpoly, roundcoefficients
Go back to the list of commands