mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-12 01:29:49 +00:00
Removed an unused function
This commit is contained in:
parent
be2ab89982
commit
a3a71d2ef1
@ -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]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user