atleast_1d(*rvs) |
Convert arrays or random variables to arrays or random variables with at least one dimension. |
atleast_2d(*rvs) |
View inputs as arrays with at least two dimensions. |
as_colvec(vec) |
Transform the given vector or random variable to column format. |
as_numpy_scalar(x, dtype, str] = None) |
|
as_random_state(x, int, …) |
|
as_shape(x, Iterable[numbers.Integral]]) |
|
assert_is_1d_ndarray(arr) |
Checks whether arr is an (d,) np.ndarray. |
assert_is_2d_ndarray(arr) |
Checks whether ar is an (n, d) np.ndarray. |
assert_evaluates_to_scalar(fct, valid_input) |
Checks whether the output of a function is a scalar. |
derive_random_seed(*args) |
|