BitGenerator

Standard library class numpy.random.bitgen.BitGenerator View source
class BitGenerator
class BitGenerator[G]
Fields 5
state G
binomial Optional[Binomial]
uinteger u32
has_uint32 bool
G type
Constructors 1
__init__
__init__(self, state: G)
Properties 1
seed_seq
@property
seed_seq(self)
Methods 97
next64
next64(self)
next32
next32(self)
next_double
next_double(self)
next_float
next_float(self)
jumped
jumped(self, jumps: int)
standard_uniform
standard_uniform(self)
standard_uniform_f
standard_uniform_f(self)
random_standard_uniform_fill
random_standard_uniform_fill(self, cnt: int, out: Ptr[float])
random_standard_uniform_fill_f
random_standard_uniform_fill_f(self, cnt: int, out: Ptr[float32])
standard_exponential_unlikely
standard_exponential_unlikely(self, idx: int, x: float)
random_standard_exponential
random_standard_exponential(self)
random_standard_exponential_fill
random_standard_exponential_fill(self, cnt: int, out: Ptr[float])
standard_exponential_unlikely_f
standard_exponential_unlikely_f(self, idx: int, x: float32)
random_standard_exponential_f
random_standard_exponential_f(self)
random_standard_exponential_fill_f
random_standard_exponential_fill_f(self, cnt: int, out: Ptr[float32])
random_standard_exponential_inv_fill
random_standard_exponential_inv_fill(self, cnt: int, out: Ptr[float])
random_standard_exponential_inv_fill_f
random_standard_exponential_inv_fill_f(self, cnt: int, out: Ptr[float32])
random_standard_normal
random_standard_normal(self)
random_standard_normal_fill
random_standard_normal_fill(self, cnt: int, out: Ptr[float])
random_standard_normal_f
random_standard_normal_f(self)
random_standard_normal_fill_f
random_standard_normal_fill_f(self, cnt: int, out: Ptr[float32])
random_standard_gamma
random_standard_gamma(self, shape: float)
random_standard_gamma_f
random_standard_gamma_f(self, shape: float32)
random_positive_int64
random_positive_int64(self)
random_positive_int32
random_positive_int32(self)
random_positive_int
random_positive_int(self)
random_uint
random_uint(self)
random_loggam
random_loggam(x: float)
random_normal
random_normal(self, loc: float, scale: float)
random_exponential
random_exponential(self, scale: float)
random_uniform
random_uniform(self, off: float, rng: float)
random_gamma
random_gamma(self, shape: float, scale: float)
random_gamma_f
random_gamma_f(self, shape: float32, scale: float32)
random_beta
random_beta(self, a: float, b: float)
random_chisquare
random_chisquare(self, df: float)
random_f
random_f(self, dfnum: float, dfden: float)
random_standard_cauchy
random_standard_cauchy(self)
random_pareto
random_pareto(self, a: float)
random_weibull
random_weibull(self, a: float)
random_power
random_power(self, a: float)
random_laplace
random_laplace(self, loc: float, scale: float)
random_gumbel
random_gumbel(self, loc: float, scale: float)
random_logistic
random_logistic(self, loc: float, scale: float)
random_lognormal
random_lognormal(self, mean: float, sigma: float)
random_rayleigh
random_rayleigh(self, mode: float)
random_standard_t
random_standard_t(self, df: float)
random_poisson_mult
random_poisson_mult(self, lam: float)
random_poisson_ptrs
random_poisson_ptrs(self, lam: float)
random_poisson
random_poisson(self, lam: float)
random_negative_binomial
random_negative_binomial(self, n: float, p: float)
random_binomial_btpe
random_binomial_btpe(self, n: int, p: float)
random_binomial_inversion
random_binomial_inversion(self, n: int, p: float)
random_binomial
random_binomial(self, p: float, n: int)
random_noncentral_chisquare
random_noncentral_chisquare(self, df: float, nonc: float)
random_noncentral_f
random_noncentral_f(self, dfnum: float, dfden: float, nonc: float)
random_wald
random_wald(self, mean: float, scale: float)
random_vonmises
random_vonmises(self, mu: float, kappa: float)
random_logseries
random_logseries(self, p: float)
random_geometric_inversion
random_geometric_inversion(self, p: float)
random_geometric
random_geometric(self, p: float)
random_zipf
random_zipf(self, a: float)
random_triangular
random_triangular(self, left: float, mode: float, right: float)
random_interval
random_interval(self, max: u64)
gen_mask
gen_mask(max: u64)
buffered_uint16
buffered_uint16(self, bcnt: int, buf: u32)
buffered_uint8
buffered_uint8(self, bcnt: int, buf: u32)
bounded_masked_uint64
bounded_masked_uint64(self, rng: u64, mask: u64)
buffered_bounded_masked_uint32
buffered_bounded_masked_uint32(self, rng: u32, mask: u32, bcnt: int, buf: u32)
buffered_bounded_masked_uint16
buffered_bounded_masked_uint16(self, rng: u16, mask: u16, bcnt: int, buf: u32)
buffered_bounded_masked_uint8
buffered_bounded_masked_uint8(self, rng: u8, mask: u8, bcnt: int, buf: u32)
buffered_bounded_bool
buffered_bounded_bool(self, off: bool, rng: bool, mask: bool, bcnt: int, buf: u32)
bounded_lemire_uint64
bounded_lemire_uint64(self, rng: u64)
buffered_bounded_lemire_uint32
buffered_bounded_lemire_uint32(self, rng: u32, bcnt: int, buf: u32)
buffered_bounded_lemire_uint16
buffered_bounded_lemire_uint16(self, rng: u16, bcnt: int, buf: u32)
buffered_bounded_lemire_uint8
buffered_bounded_lemire_uint8(self, rng: u8, bcnt: int, buf: u32)
random_bounded_uint64
random_bounded_uint64(self, off: u64, rng: u64, mask: u64, use_masked: bool)
random_buffered_bounded_uint32
random_buffered_bounded_uint32(self, off: u32, rng: u32, mask: u32, use_masked: bool, bcnt: int, buf: u32)
random_buffered_bounded_uint16
random_buffered_bounded_uint16(self, off: u16, rng: u16, mask: u16, use_masked: bool, bcnt: int, buf: u32)
random_buffered_bounded_uint8
random_buffered_bounded_uint8(self, off: u8, rng: u8, mask: u8, use_masked: bool, bcnt: int, buf: u32)
random_buffered_bounded_bool
random_buffered_bounded_bool(self, off: bool, rng: bool, mask: bool, use_masked_bool, bcnt: int, buf: u32)
random_bounded_uint64_fill
random_bounded_uint64_fill(self, off: u64, rng: u64, cnt: int, use_masked: bool, out: Ptr[u64])
random_bounded_uint32_fill
random_bounded_uint32_fill(self, off: u32, rng: u32, cnt: int, use_masked: bool, out: Ptr[u32])
random_bounded_uint16_fill
random_bounded_uint16_fill(self, off: u16, rng: u16, cnt: int, use_masked: bool, out: Ptr[u16])
random_bounded_uint8_fill
random_bounded_uint8_fill(self, off: u8, rng: u8, cnt: int, use_masked: bool, out: Ptr[u8])
random_bounded_bool_fill
random_bounded_bool_fill(self, off: bool, rng: bool, cnt: int, use_masked: bool, out: Ptr[bool])
random_multinomial
random_multinomial(self, n: int, mnix: Ptr[int], pix: Ptr[float], d: int)
hypergeometric_sample
hypergeometric_sample(self, good: int, bad: int, sample: int)
hypergeometric_hrua
hypergeometric_hrua(self, good: int, bad: int, sample: int)
random_hypergeometric
random_hypergeometric(self, good: int, bad: int, sample: int)
random_multivariate_hypergeometric_count
random_multivariate_hypergeometric_count(self, total: int, num_colors: int, colors: Ptr[int], nsample: int, num_variates: int, variates: Ptr[int])
random_multivariate_hypergeometric_marginals
random_multivariate_hypergeometric_marginals(self, total: int, num_colors: int, colors: Ptr[int], nsample: int, num_variates: int, variates: Ptr[int])
next_raw
next_raw(self)
random_raw
random_raw(self, lock, size, output)
random_raw(self, size = None)
shuffle_raw
shuffle_raw(self, n: int, first: int, itemsize: int, stride: int, data: cobj, buf: cobj)
shuffle_int
shuffle_int(self, n: int, first: int, data: Ptr[int])
shuffle_raw_wrap
shuffle_raw_wrap(self, n: int, first: int, itemsize: int, stride: int, data: cobj, buf: cobj)