We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555b54c commit 33266f2Copy full SHA for 33266f2
maths/polynomials/legendre.py
@@ -1,13 +1,12 @@
1
# Imports de bibliothèques standard
2
from math import factorial
3
-from typing import List
4
5
# Imports de bibliothèques tierces
6
import pytest
7
from numpy.polynomial import Polynomial
8
9
10
-def legendre(n: int) -> List[float]:
+def legendre(n: int) -> list[float]:
11
"""
12
Compute the coefficients of the nth Legendre polynomial.
13
0 commit comments