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

Method arange

ot/backend.py:323–331  ·  view source on GitHub ↗

r""" Returns evenly spaced values within a given interval. This function follows the api from :any:`numpy.arange` See: https://numpy.org/doc/stable/reference/generated/numpy.arange.html

(self, stop, start=0, step=1, type_as=None)

Source from the content-addressed store, hash-verified

321 raise NotImplementedError()
322
323 def arange(self, stop, start=0, step=1, type_as=None):
324 r"""
325 Returns evenly spaced values within a given interval.
326
327 This function follows the api from :any:`numpy.arange`
328
329 See: https://numpy.org/doc/stable/reference/generated/numpy.arange.html
330 """
331 raise NotImplementedError()
332
333 def full(self, shape, fill_value, type_as=None):
334 r"""

Callers 15

test_empty_backendFunction · 0.95
_init_lr_sinkhornFunction · 0.45
proj_simplexFunction · 0.45
dist0Function · 0.45
recast_ot_as_lassoFunction · 0.45
make_1D_gaussFunction · 0.45
make_data_classifFunction · 0.45
arangeMethod · 0.45
arangeMethod · 0.45
arangeMethod · 0.45

Calls

no outgoing calls