Skip to content

Commit 955c792

Browse files
Update maths/fibonacci.py
Co-authored-by: Tianyi Zheng <[email protected]>
1 parent 07ed6b9 commit 955c792

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

maths/fibonacci.py

-12
Original file line numberDiff line numberDiff line change
@@ -235,18 +235,6 @@ def fib_binet(n: int) -> list[int]:
235235
return [round(phi**i / sqrt_5) for i in range(n + 1)]
236236

237237

238-
def matrix_mult_np(a, b):
239-
"""
240-
Multiplies two matrices using numpy's dot product.
241-
242-
Args:
243-
a: First matrix as a numpy array
244-
b: Second matrix as a numpy array
245-
246-
Returns:
247-
The product of matrices a and b.
248-
"""
249-
return np.dot(a, b)
250238

251239

252240
def matrix_pow_np(m: ndarray, power: int) -> ndarray:

0 commit comments

Comments
 (0)