mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-22 13:28:12 +08:00
Enable ruff RUF002 rule (#11377)
* Enable ruff RUF002 rule * Fix --------- Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@ -18,7 +18,7 @@ def schur_complement(
|
||||
the pseudo_inv argument.
|
||||
|
||||
Link to Wiki: https://en.wikipedia.org/wiki/Schur_complement
|
||||
See also Convex Optimization – Boyd and Vandenberghe, A.5.5
|
||||
See also Convex Optimization - Boyd and Vandenberghe, A.5.5
|
||||
>>> import numpy as np
|
||||
>>> a = np.array([[1, 2], [2, 1]])
|
||||
>>> b = np.array([[0, 3], [3, 0]])
|
||||
|
Reference in New Issue
Block a user