Sorry perhaps if my question is not clear. This is my question framed in better way For ex Line( Point(1, 2.3, evaluate=False), Point(2.2, 1)) for this case can i somehow know in the code of `class of Line` that what were the argument's (point's) `evaluate` value ? With the first point it is `False` while with the second being `True`. Hope this questions sounds clear.
On Saturday, May 30, 2015 at 11:06:15 PM UTC+5:30, AMiT Kumar wrote: > > 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/883a6487-bd78-40b6-bc45-4da6587092c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.