Skip to content
Snippets Groups Projects
Commit 44390bc2 authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Fixed typo.

parent d19b77dd
Branches
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
"""
@author: Laura C. Kühle
TODO: Fix typo -> Done
"""
import numpy as np
from sympy import Symbol, integrate
......@@ -73,7 +75,7 @@ class OrthonormalLegendre(Legendre):
return [np.sqrt(15/34) * (1 + 4*eval_point - 30*(eval_point**2) + 28*(eval_point**3)),
np.sqrt(1/42) * (-4 + 105*eval_point - 300*(eval_point**2) + 210*(eval_point**3)),
1/2 * np.sqrt(35/34) * (-5 + 48*eval_point - 105*(eval_point**2) + 64*(eval_point**3)),
1/2 * np.sqrt(5/34) * (-16 + 105*eval_point - 192*(eval_point**2) + 105*(eval_point**3))]
1/2 * np.sqrt(5/42) * (-16 + 105*eval_point - 192*(eval_point**2) + 105*(eval_point**3))]
if degree == 4:
return [np.sqrt(1/186) * (1 + 30*eval_point + 210*(eval_point**2)
- 840*(eval_point**3) + 630*(eval_point**4)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment