Hi!

The default value of evaluate in Point class is True, which means
Floats are automatically converted to Rational unless the
evaluate flag is False.

    >>> Point(0.5, 0.25)   # default is evaluate=True
    Point(1/2, 1/4)
    >>> Point(0.5, 0.25, evaluate=False)
    Point(0.5, 0.25)



*AMiT Kumar*
Delhi Technological University
*www.iamit.in* <http://www.iamit.in/>

On Friday, May 29, 2015 at 9:36:10 AM UTC+5:30, Gaurav Dhingra wrote:
>
> Hi all
>
> I am doing this
> >>> from sympy import *
> >>> a = Point(1, 3 , evaluate=False)
>
> In this case the default value of `evaluate` is `False`.
> In this,  is there a way using which i can identify that with what value 
> was `evaluate` passed (in this case True) ?
> Though if this question does not make any sense feel free to tell me.
>
> Gaurav Dhingra
>

-- 
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/fcafaa9c-49b0-4224-b615-94a10b92033c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to