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 b7bae8e commit cd9ab34Copy full SHA for cd9ab34
3 files changed
differentiation.py
@@ -3,7 +3,7 @@
3
import numpy as np
4
5
6
-def derivative_backward_difference(x, y):
+def backward_difference(x, y):
7
"""Calculate the first derivative.
8
9
All values in 'x' must be equally spaced.
@@ -37,7 +37,7 @@ def dy_difference(h, y0, y1):
37
return [dy]
38
39
40
-def derivative_three_point(x, y):
+def three_point(x, y):
41
42
43
@@ -75,7 +75,7 @@ def dy_end(h, y0, y1, y2):
75
76
77
78
-def derivative_five_point(x, y):
+def five_point(x, y):
79
80
81
integration.py
@@ -1,7 +1,7 @@
1
"""Methods for numerical integration."""
2
-def composite_simpson(f, b, a, n):
+def simpson(f, b, a, n):
"""Calculate the integral from 1/3 Simpson's Rule.
Args:
@@ -29,7 +29,7 @@ def composite_simpson(f, b, a, n):
29
return [xi]
30
31
32
-def composite_trapezoidal(f, b, a, n):
+def trapezoidal(f, b, a, n):
33
"""Calculate the integral from the Trapezoidal Rule.
34
35
@@ -53,7 +53,7 @@ def composite_trapezoidal(f, b, a, n):
53
54
55
56
-def composite_simpson_array(x, y):
+def simpson_array(x, y):
57
58
59
@@ -82,7 +82,7 @@ def composite_simpson_array(x, y):
82
83
84
85
-def composite_trapezoidal_array(x, y):
+def trapezoidal_array(x, y):
86
87
88
0 commit comments