Singular
http://www.singular.uni-kl.de/forum/

Number of variables in one polynomial.
http://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2592
Page 1 of 1

Author:  IliaToli [ Wed Mar 22, 2017 2:56 am ]
Post subject:  Number of variables in one polynomial.

This might sound as a trivial question, but it is not. Is there a command to check the number of variables in a polynomial? The situation is this:

I can add to the system as many equations as I wish, infinite. The problem is, they become more and more cumbersome. On the other hand, after that I manage to calculate the Gröbner basis, I take the "smallest" polynomial, and see how far I am by counting its variables. For huge polynomials this is no easy task.

Author:  hannes [ Wed Mar 22, 2017 10:59 am ]
Post subject:  Re: Number of variables in one polynomial.

Code:
size(variables(p));

see https://www.singular.uni-kl.de/Manual/4 ... ng_360.htm

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/