Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Number of variables in one polynomial.
PostPosted: Wed Mar 22, 2017 2:56 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Number of variables in one polynomial.
PostPosted: Wed Mar 22, 2017 10:59 am 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
Code:
size(variables(p));

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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:03 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group