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)


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

On Saturday, May 9, 2015 at 5:03:25 AM UTC+5:30, Amit Saha wrote:
>
> Hi all, 
>
> What does the "gen" argument mean in the context of 
> "solve_univariate_inequality(expr, gen, relational=True)" [1] ? 
>
> [1] 
> http://docs.sympy.org/dev/modules/solvers/inequalities.html#sympy.solvers.inequalities.solve_univariate_inequality
>  
>
>
> Thanks, 
> Amit. 
>
> -- 
> 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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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/b17d3f34-6698-4002-b0a6-c7b9f49aee80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to