On Dec 11, 2007 7:33 PM, Kirill Smelkov <[EMAIL PROTECTED]> wrote:
>
> On Tue, Dec 11, 2007 at 10:25:30AM -0800, Suresh Jeevanandam 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
>
> Good idea!
>
> I think this should be generalized to ProbabilitySymbol or something
> like that.
>
> i.e.
>
> a = PSymbol('a', distribution='normal', mean=2.0, std=3.0)
> b = PSymbol('b', distribution='T', ...)
> c = a*b
>
> c.confidence_internal()
> [A,B]
>
>
> What do you think?

Agree. Please add it to the issue. (I have quite slow connection here
on mountains, it always takes quite some time to modify issues).

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to