probnum.utils

Utility Functions.

Functions

as_colvec(vec)

Transform the given vector or random variable to column format.

atleast_1d(*rvs)

Convert arrays or random variables to arrays or random variables with at least one dimension.

as_numpy_scalar(x[, dtype])

Convert a scalar into a NumPy scalar.

as_shape(x[, ndim])

Convert a shape representation into a shape defined as a tuple of ints.