mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-29 01:46:42 +00:00
Changed the structure to correspond with PEP8 convention.
This commit is contained in:
parent
baf934f4df
commit
d2afa4cc8b
@ -1,4 +1,6 @@
|
||||
import numpy as np
|
||||
|
||||
|
||||
def lanczos(a: np.ndarray) -> tuple[list[float], list[float]]:
|
||||
"""
|
||||
Implements the Lanczos algorithm for a symmetric matrix.
|
||||
|
Loading…
x
Reference in New Issue
Block a user