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

this page was automatically generated on So Aug 10 12:23:25 CEST 2008 on the machine btn6xa