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 60ad958 commit 555b54cCopy full SHA for 555b54c
maths/polynomials/legendre.py
@@ -1,12 +1,13 @@
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
-def legendre(n: int) -> [float]:
10
+def legendre(n: int) -> List[float]:
11
"""
12
Compute the coefficients of the nth Legendre polynomial.
13
0 commit comments