Re: [sage-support] Re: Extract only some elements from a set

2013-02-26 Thread Santanu Sarkar
Thank you very much. On 26 February 2013 18:52, Christophe BAL wrote: > Hello, > this is more a python question that a sympy question > > If L is the list [{x0:1, x1: 0, y0: 1}], then L[0] is the dictionnary > {x0:1, x1: 0, y0: 1}. Than you can try something like L[0]["x0"] or > L[0][x0]. > > H

Re: [sage-support] Re: Extract only some elements from a set

2013-02-26 Thread Christophe BAL
Hello, this is more a python question that a sympy question If L is the list [{x0:1, x1: 0, y0: 1}], then L[0] is the dictionnary {x0:1, x1: 0, y0: 1}. Than you can try something like L[0]["x0"] or L[0][x0]. Hoping that this will help you. Best regards. Christophe. 2013/2/26 Santanu Sarkar

Re: [sage-support] Re: Extract only some elements from a set

2013-02-26 Thread Santanu Sarkar
Sorry, I can not understand the approach. Let I=[{x0:1, x1: 0, y0: 1}]. Suppose I want to find only x0 and x1. How is it possible? On 26 February 2013 16:37, akhil wrote: > > > On Tuesday, February 26, 2013 1:40:26 PM UTC+5:30, Santanu wrote: >> >> Dear all, >> I have a set non linear equat

[sage-support] Re: Extract only some elements from a set

2013-02-26 Thread akhil
On Tuesday, February 26, 2013 1:40:26 PM UTC+5:30, Santanu wrote: > > Dear all, > I have a set non linear equations over Boolean variables x_1,..., > x_{1}. > Sat solver gives I=[{x1: 0, x100: 1, .}]. I am interested to see only > the values > of x1,.., x100. Will you kindly help