mtalg.random.MultithreadedRNG.logistic

MultithreadedRNG.logistic(loc: Number = 0.0, scale: Number = 1.0, size: int | tuple | None = None) ndarray | Number[source]

Draw from a logistic distribution.

Parameters:
  • loc – Parameter of the distribution. Default is 0.

  • scale – Parameter of the distribution. Must be non-negative. Default is 1.

  • size – Output shape.

Returns:

numpy.ndarray or scalar.