probnum.random_variables

This package implements random variables. Random variables are the primary in- and outputs of probabilistic numerical methods. A generic signature of such methods looks like this:

randvar_out, info = probnum_method(problem, randvar_in, **kwargs)

Functions

asrandvar(obj) Return obj as a RandomVariable.

Classes

RandomVariable(shape, …) Random variables are the main objects used by probabilistic numerical methods.
DiscreteRandomVariable(shape, …)
ContinuousRandomVariable(shape, …)
Dirac(support, random_state, int, …) The Dirac delta distribution.
Normal(mean, numpy.floating, numpy.ndarray, …) The normal distribution.
WrappedSciPyRandomVariable(scipy_rv, …)
WrappedSciPyDiscreteRandomVariable(scipy_rv, …)
WrappedSciPyContinuousRandomVariable(…)

Class Inheritance Diagram

Inheritance diagram of probnum.random_variables.RandomVariable, probnum.random_variables.DiscreteRandomVariable, probnum.random_variables.ContinuousRandomVariable, probnum.random_variables.Dirac, probnum.random_variables.Normal, probnum.random_variables.WrappedSciPyRandomVariable, probnum.random_variables.WrappedSciPyDiscreteRandomVariable, probnum.random_variables.WrappedSciPyContinuousRandomVariable