CASA Function: numberOfTerms
Determine the number of terms of a polynomial.
Calling Sequence:
- n:= numberOfTerms(poly,vars)
Parameters:
- poly : polynom
-
- vars : list(name)
- A list of indeterminates.
Result:
- n : integer
- The number of terms of the polynomial poly considered as a polynomial in the indeterminates vars.
Description:
- The function determines the number of terms of a polynomial poly considered as a polynomial in the indeterminates vars.
Examples:
> numberOfTerms(0,[x,y]);
> numberOfTerms(x,[x,y]);
> numberOfTerms(x*y,[x]);
> numberOfTerms(x^2+y,[x,y]);
> numberOfTerms(x^2+y,[z]);
See Also:
[CASA]
[equalProjectivePoints]
[homogeneousForm]
[leadingForm]
[delete]
[pointInAlgSet]
[setRandomParameters]