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

Method inv

ot/backend.py:942–950  ·  view source on GitHub ↗

r""" Computes the inverse of a matrix. This function follows the api from :any:`scipy.linalg.inv`. See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.inv.html

(self, a)

Source from the content-addressed store, hash-verified

940 raise NotImplementedError()
941
942 def inv(self, a):
943 r"""
944 Computes the inverse of a matrix.
945
946 This function follows the api from :any:`scipy.linalg.inv`.
947
948 See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.inv.html
949 """
950 raise NotImplementedError()
951
952 def pinv(self, a, hermitian=False):
953 r"""

Callers 15

test_empty_backendFunction · 0.95
semi_relaxed_pathFunction · 0.45
invMethod · 0.45
invMethod · 0.45
invMethod · 0.45
invMethod · 0.45
invMethod · 0.45
gaussian_logpdfFunction · 0.45
gmm_ot_apply_mapFunction · 0.45
fitMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36
test_exp_buresFunction · 0.36