> (If youre into Probability and Statistics: Ive defined a Random
> Variable class and for any instance X, the expressions exp(X) or
> log(X) (or F(X) for any real function F) are well-defined random
> variables and should be returned as new instances defined in terms of
> X - but ignore this if youre not into Prob&Stats).

This isn't relevant to the main point of this thread, but is this at
all connected to the already existing module below?  I at one point
started to improve the documentation of this but didn't have many good
examples of its intended use.  Anyway, probably your thing should be
interwoven with this somehow.

- kcrisman

sage: sage.probability.random_variable?
Type:           module
Base Class:     <type 'module'>
String Form:    <module 'sage.probability.random_variable' from '/mnt/
usb1/scratch/kcrisman/sage-4.5.2.rc1-sage.m <...> hington.edu-x86_64-
Linux/local/lib/python2.6/site-packages/sage/probability/
random_variable.pyc'>
Namespace:      Interactive
File:           /mnt/usb1/scratch/kcrisman/sage-4.5.2.rc1-
sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-
packages/sage/probability/random_variable.py
Docstring:
    Random variables and probability spaces

    This introduces a class of random variables, with the focus on
    discrete random variables (i.e. on a discrete probability space).
This
    avoids the problem of defining a measure space and measurable
    functions.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to