diff --git a/Basis_Function.py b/Basis_Function.py index 4fb2628980f535d30c2421ba621fdb075462e1a0..7e58c4c97230021c30899c1783302e74095e7e65 100644 --- a/Basis_Function.py +++ b/Basis_Function.py @@ -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)),