Re: [sympy] Re: "gen" argument in sympy.solvers.inequalities.solve_univariate_inequality

2015-05-11 Thread AMiT Kumar
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 > wrote: > > Hi Amit, > > > > The `gen` argument corresponds to the symbol you are solving for > > the univariate inequality (expr). > > > > Example: > > > solve_univaria

Re: [sympy] Re: "gen" argument in sympy.solvers.inequalities.solve_univariate_inequality

2015-05-10 Thread Amit Saha
On Sun, May 10, 2015 at 7:01 PM, AMiT Kumar 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_u

[sympy] Re: "gen" argument in sympy.solvers.inequalities.solve_univariate_inequality

2015-05-10 Thread AMiT Kumar
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