Removed an unused function

This commit is contained in:
Pablito 2024-12-03 11:27:22 +01:00
parent be2ab89982
commit a3a71d2ef1

View File

@ -23,16 +23,6 @@ def legendre(n: int) -> list[float]:
return p.deriv(n).coef.tolist()
def jsp():
print(legendre(1))
print(legendre(2))
print(legendre(3))
print(legendre(4))
jsp()
def test_legendre_0():
"""Test the 0th Legendre polynomial."""
assert legendre(0) == [1.0], "The 0th Legendre polynomial should be [1.0]"