A = R.gens()[:10000] B = R.gens()[10000:] On Wednesday 27 Feb 2013, Santanu Sarkar wrote: > Dear all, > I need two arrays of Boolean variables. So I have written > > R=BooleanPolynomialRing(20000,['x%d'%(i+1) for i in range > (10000)]+,['y%d'%(i+1) for i in range (10000)] ) > R.inject_variables() > > Now in one array A, I want to store x1,..,x10000 and in another array B > want to store > y1,..y10000. Hence A=[x1,.., x10000] & B=[y1,..,y10000]. How this can be > possible? > > Also function R.inject_variables() explicitly shows the variables, which I > do not want. > Is there any way to tackle this?
Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress.com/ _jab: martinralbre...@jabber.ccc.de -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.