´

numberofvariables

synopsis: INT numberofvariables(OP pol,res)

description:

computes the number of variables of the POLYNOM object pol. The result is a positiv INTEGER object res. If the self-part of pol is NULL, the result is zero.

bug:

if you have for example the POLYNOM x_0 x_3 the result will be four, because the routines looks on the index of the highest exponent not equal to zero.


Send comments or suggestions to:
symmetrica (at) symmetrica.de

this page was automatically generated on So Jan 4 10:36:01 CET 2009 on the machine btn6xf

University of Bayreuth -