Uniform.copy (function)


def copy(self)

Make a copy of the distribution object. When sampled together via a DistributionCollection or CompositeDistribution, both copies will be sampled simultaneously and remain linked. To break this link, use Uniform.deepcopy> instead.

Returns

  • a copy of the distribution object