augax.ks_sample_numpy

augax.ks_sample_numpy(u, rng)[source]

ks_sample() on the host: the same sampler, for NumPy callers.

Parameters:
  • u (array_like) – The disturbances, any shape, as float64.

  • rng (numpy.random.Generator) – Supplies the seed of the C++ stream.

Returns:

lam – The scales, with the shape of u.

Return type:

numpy.ndarray