class documentation

class Random:

Constructor: Random(ctx)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method betavariate Undocumented
Method choice Undocumented
Method expovariate Undocumented
Method getrandbits Undocumented
Method randint Undocumented
Method random Undocumented
Method randrange Undocumented
Method triangular Undocumented
Instance Variable _ctx Undocumented
def __init__(self, ctx: Context):

Undocumented

def betavariate(self, alpha: float, beta: float) -> LFC[float]:

Undocumented

def choice(self, seq: Sequence[T]) -> LFC[T]:

Undocumented

def expovariate(self, lambd: float = 1) -> LFC[float]:

Undocumented

def getrandbits(self, k: int) -> LFC[int]:

Undocumented

def randint(self, a: int, b: int) -> LFC[int]:

Undocumented

def random(self) -> LFC[float]:

Undocumented

def randrange(self, start: int, stop: int | None = None, step: int = 1) -> LFC[int]:

Undocumented

def triangular(self, low: float = 0, high: float = 1, mode: float | None = None) -> LFC[float]:

Undocumented

_ctx =

Undocumented