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

Method sqrtm

ot/backend.py:962–972  ·  view source on GitHub ↗

r""" Computes the matrix square root. Requires input symmetric positive semi-definite. This function follows the api from :any:`scipy.linalg.sqrtm`, allowing batches. See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.sqrtm.html

(self, a)

Source from the content-addressed store, hash-verified

960 raise NotImplementedError()
961
962 def sqrtm(self, a):
963 r"""
964 Computes the matrix square root.
965 Requires input symmetric positive semi-definite.
966
967 This function follows the api from :any:`scipy.linalg.sqrtm`,
968 allowing batches.
969
970 See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.sqrtm.html
971 """
972 raise NotImplementedError()
973
974 def eigh(self, a):
975 r"""

Callers 15

test_empty_backendFunction · 0.95
bures_distanceFunction · 0.45
make_2D_samples_gaussFunction · 0.45
dist_bures_squaredFunction · 0.45
gmm_ot_apply_mapFunction · 0.45
test_func_backendsFunction · 0.45
test_exp_buresFunction · 0.45

Calls

no outgoing calls