Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Troubled Cell Detection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Laura Christine Kühle
Troubled Cell Detection
Commits
44390bc2
Commit
44390bc2
authored
4 years ago
by
Laura Christine Kühle
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo.
parent
d19b77dd
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Basis_Function.py
+3
-1
3 additions, 1 deletion
Basis_Function.py
with
3 additions
and
1 deletion
Basis_Function.py
+
3
−
1
View file @
44390bc2
...
...
@@ -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
/
3
4
)
*
(
-
16
+
105
*
eval_point
-
192
*
(
eval_point
**
2
)
+
105
*
(
eval_point
**
3
))]
1
/
2
*
np
.
sqrt
(
5
/
4
2
)
*
(
-
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
)),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment