Changed the structure to correspond with PEP8 convention.

This commit is contained in:
Pablito 2024-11-20 10:43:25 +01:00
parent baf934f4df
commit d2afa4cc8b

View File

@ -1,4 +1,6 @@
import numpy as np import numpy as np
def lanczos(a: np.ndarray) -> tuple[list[float], list[float]]: def lanczos(a: np.ndarray) -> tuple[list[float], list[float]]:
""" """
Implements the Lanczos algorithm for a symmetric matrix. Implements the Lanczos algorithm for a symmetric matrix.