MCPcopy Create free account
hub / github.com/PythonOT/POT / randn

Method randn

ot/backend.py:772–780  ·  view source on GitHub ↗

r""" Generate normal Gaussian random numbers. This function follows the api from :any:`numpy.random.rand` See: https://numpy.org/doc/stable/reference/random/generated/numpy.random.rand.html

(self, *size, type_as=None)

Source from the content-addressed store, hash-verified

770 raise NotImplementedError()
771
772 def randn(self, *size, type_as=None):
773 r"""
774 Generate normal Gaussian random numbers.
775
776 This function follows the api from :any:`numpy.random.rand`
777
778 See: https://numpy.org/doc/stable/reference/random/generated/numpy.random.rand.html
779 """
780 raise NotImplementedError()
781
782 def randperm(self, size, type_as=None):
783 r"""

Callers 15

test_empty_backendFunction · 0.95
_init_lr_sinkhornFunction · 0.45
make_2D_samples_gaussFunction · 0.45
make_data_classifFunction · 0.45
randnMethod · 0.45
randnMethod · 0.45
randnMethod · 0.45
get_random_projectionsFunction · 0.45
get_projections_sphereFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_empty_backendFunction · 0.76
test_raise_errorsFunction · 0.36
test_solveFunction · 0.36
test_solve_last_stepFunction · 0.36
test_solve_detachFunction · 0.36
test_solve_envelopeFunction · 0.36
test_solve_gridFunction · 0.36