On Dec 11, 2007 7:25 PM, Suresh Jeevanandam <[EMAIL PROTECTED]> wrote: > > Dear all, > I want to propose these features. > > The symbols must include these informations as well, these would be > optional while symbol creation. > 1) typical range > 2) typical value ( the symbol would take a value around this value.) > > The Expression class must have functions which can calculate the > typical range, value the expression can take. > > I think atleast the basic functionality should be easily > implementable, IMHO this would be very useful for a practical user. > > Eg. > a = Symbol('a', typical_range=(0,10)) > b = Symbol('b', typical_range=(0,5.5)) > c = a*b > c.typical_range() > (0,55) > > a.typical_value = 3.0 > b.typical_value = 2.5 > c.typical_value() > 7.5
Thanks Suresh for proposing this. It is now an issue 489: http://code.google.com/p/sympy/issues/detail?id=489 Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---