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

Method meshgrid

ot/backend.py:692–700  ·  view source on GitHub ↗

r""" Returns coordinate matrices from coordinate vectors (Numpy convention). This function follows the api from :any:`numpy.meshgrid` See: https://numpy.org/doc/stable/reference/generated/numpy.meshgrid.html

(self, a, b)

Source from the content-addressed store, hash-verified

690 raise NotImplementedError()
691
692 def meshgrid(self, a, b):
693 r"""
694 Returns coordinate matrices from coordinate vectors (Numpy convention).
695
696 This function follows the api from :any:`numpy.meshgrid`
697
698 See: https://numpy.org/doc/stable/reference/generated/numpy.meshgrid.html
699 """
700 raise NotImplementedError()
701
702 def diag(self, a, k=0):
703 r"""

Callers 13

test_empty_backendFunction · 0.95
meshgridMethod · 0.45
meshgridMethod · 0.45
meshgridMethod · 0.45
meshgridMethod · 0.45
meshgridMethod · 0.45
_get_convol_img_fnFunction · 0.45
test_func_backendsFunction · 0.45
plot_sphereFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36