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

Method linspace

ot/backend.py:682–690  ·  view source on GitHub ↗

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

(self, start, stop, num, type_as=None)

Source from the content-addressed store, hash-verified

680 raise NotImplementedError()
681
682 def linspace(self, start, stop, num, type_as=None):
683 r"""
684 Returns a specified number of evenly spaced values over a given interval.
685
686 This function follows the api from :any:`numpy.linspace`
687
688 See: https://numpy.org/doc/stable/reference/generated/numpy.linspace.html
689 """
690 raise NotImplementedError()
691
692 def meshgrid(self, a, b):
693 r"""

Callers 15

test_empty_backendFunction · 0.95
linspaceMethod · 0.45
linspaceMethod · 0.45
linspaceMethod · 0.45
linspaceMethod · 0.45
linspaceMethod · 0.45
linear_circular_otFunction · 0.45
_get_convol_img_fnFunction · 0.45
test_func_backendsFunction · 0.45

Calls

no outgoing calls