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

Method arange

ot/backend.py:1160–1161  ·  view source on GitHub ↗
(self, stop, start=0, step=1, type_as=None)

Source from the content-addressed store, hash-verified

1158 return np.ones(shape, dtype=type_as.dtype)
1159
1160 def arange(self, stop, start=0, step=1, type_as=None):
1161 return np.arange(start, stop, step)
1162
1163 def full(self, shape, fill_value, type_as=None):
1164 if type_as is None:

Callers

nothing calls this directly

Calls 1

arangeMethod · 0.45

Tested by

no test coverage detected