Miscellaneous¶
Probability¶
- sdr.Q(x: ArrayLike) NDArray[float64]
Computes the CCDF of the standard normal distribution \(\mathcal{N}(0, 1)\)..
- sdr.Qinv(p: ArrayLike) NDArray[float64]
Computes the inverse CCDF of the standard normal distribution \(\mathcal{N}(0, 1)\).
- sdr.sum_distribution(X, ...) rv_histogram
Numerically calculates the distribution of the sum of \(n\) i.i.d. random variables \(X_i\).
- sdr.sum_distributions(X, ...) rv_histogram
Numerically calculates the distribution of the sum of two independent random variables \(X\) and \(Y\).
- sdr.multiply_distributions(X, ...) scipy.stats.rv_histogram
Numerically calculates the distribution of the product of two independent random variables \(X\) and \(Y\).
Data manipulation¶
- sdr.pack(x: ArrayLike, bpe: int, ...) NDArray[int_]
Packs a binary array into an array with multiple bits per element.
- sdr.unpack(x: ArrayLike, bpe: int, ...) NDArray[int_]
Unpacks an array with multiple bits per element into a binary array.
Last update:
Mar 09, 2024