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

Method solve

ot/backend.py:922–930  ·  view source on GitHub ↗

r""" Solves a linear matrix equation, or system of linear scalar equations. This function follows the api from :any:`numpy.linalg.solve`. See: https://numpy.org/doc/stable/reference/generated/numpy.linalg.solve.html

(self, a, b)

Source from the content-addressed store, hash-verified

920 raise NotImplementedError()
921
922 def solve(self, a, b):
923 r"""
924 Solves a linear matrix equation, or system of linear scalar equations.
925
926 This function follows the api from :any:`numpy.linalg.solve`.
927
928 See: https://numpy.org/doc/stable/reference/generated/numpy.linalg.solve.html
929 """
930 raise NotImplementedError()
931
932 def trace(self, a):
933 r"""

Callers 15

test_empty_backendFunction · 0.95
solve_LFunction · 0.45
solve_L_nobiasFunction · 0.45
solve_L_biasFunction · 0.45
solveMethod · 0.45
solveMethod · 0.45
solveMethod · 0.45
solveMethod · 0.45
solveMethod · 0.45
test_solveFunction · 0.45

Calls

no outgoing calls

Tested by 10

test_empty_backendFunction · 0.76
test_solveFunction · 0.36
test_solve_last_stepFunction · 0.36
test_solve_detachFunction · 0.36
test_solve_envelopeFunction · 0.36
test_solve_gridFunction · 0.36
test_solve_sampleFunction · 0.36
test_solve_sample_lazyFunction · 0.36
test_func_backendsFunction · 0.36