On Sunday, May 10, 2015 at 5:56:17 PM UTC+5:30, Amit Saha wrote:
>
> On Sun, May 10, 2015 at 7:01 PM, AMiT Kumar <[email protected] 
> <javascript:>> wrote: 
> > Hi Amit, 
> > 
> > The `gen` argument corresponds to the symbol you are solving for 
> > the univariate inequality (expr). 
> > 
> > Example: 
> > 
> >>>> solve_univariate_inequality(x**2 >= 4, x) 
> >     Or(And(-oo < x, x <= -2), And(2 <= x, x < oo)) 
> > 
> > 
> >>>> solve_univariate_inequality(x**2 >= 4, x, relational=False) 
> >     (-oo, -2] U [2, oo) 
>
> Thank you for your reply. Yeah I figured that out. My query was more 
> of: what did "gen" mean in this context? 
> I believe it refers to polynomial generator? 
>
>
Yes, It meant the same, though this function is available in Public API, 
but loosely speaking It was meant mostly for internal use with solve, 
that's why the name `gen` is used instead of symbol.


AMiT Kumar
3rd Year Undergrad
Delhi Technological University
www.iamit.in


>
>
> -- 
> http://echorand.me 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/2b96f816-3bb0-476e-b788-ce388973478f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to