uvex_transients.phase_space.sampling.logistic.LogisticSampler.draw#

LogisticSampler.draw(x: ArrayLike, n: int, seed: SeedSequence) → int[source]#

Make n tries at a point.

Parameters:
  • x (array-like) – The point, shape (ndim,).

  • n (int) – The number of tries.

  • seed (numpy.random.SeedSequence) – The source of the randomness.

Returns:

The number of successes.

Return type:

int