executable-engineering 0.1.44__tar.gz → 0.1.47__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/PKG-INFO +1 -1
- executable_engineering-0.1.47/executable_engineering/__init__.py +183 -0
- executable_engineering-0.1.47/executable_engineering/differentiation_module.py +678 -0
- executable_engineering-0.1.47/executable_engineering/integration_module.py +699 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/neuralnet_module.py +14 -18
- executable_engineering-0.1.47/executable_engineering/numerical_integration_module.py +902 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering.egg-info/PKG-INFO +1 -1
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering.egg-info/SOURCES.txt +3 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/setup.py +1 -1
- executable_engineering-0.1.44/executable_engineering/__init__.py +0 -70
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/LICENSE +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/README.md +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/closedoptimization_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/closedrootfinder_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/constrainedoptimization_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/functions_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/gradientoptimization_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/linearsystems_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/numerical_error_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/openoptimization_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/openrootfinder_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering/optimization_module.py +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering.egg-info/dependency_links.txt +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering.egg-info/requires.txt +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/executable_engineering.egg-info/top_level.txt +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/pyproject.toml +0 -0
- {executable_engineering-0.1.44 → executable_engineering-0.1.47}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: executable_engineering
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.47
|
|
4
4
|
Summary: Demonstrative tools for the Executable Engineering textbook
|
|
5
5
|
Home-page: https://github.com/themintlab/ExecutableEngineering/tree/main/executable_engineering
|
|
6
6
|
Author: Michael Welland
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from .neuralnet_module import init_weights, tanh, tanh_derivative, forward, compute_loss, backward, plot_nn_diagram, init_model, forward_pass, backward_pass, step, reset_model, save_function, change_depth, change_width, draw_network, update_plots, interactive_neural_network, train_until_convergence
|
|
3
|
+
except ImportError:
|
|
4
|
+
pass
|
|
5
|
+
|
|
6
|
+
try:
|
|
7
|
+
from .openrootfinder_module import RootFinderOpen
|
|
8
|
+
except ImportError:
|
|
9
|
+
pass
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from .closedrootfinder_module import RootFinderClosed
|
|
13
|
+
except ImportError:
|
|
14
|
+
pass
|
|
15
|
+
|
|
16
|
+
try:
|
|
17
|
+
from .closedoptimization_module import OptimizerClosed, ScalarTracker, plot_bracketed_progression
|
|
18
|
+
except ImportError:
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
try:
|
|
22
|
+
from .openoptimization_module import OptimizerOpen, plot_optimization_path_2d, plot_optimization_path_3d
|
|
23
|
+
except ImportError:
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
try:
|
|
27
|
+
from .gradientoptimization_module import OptimizerGrad
|
|
28
|
+
except ImportError:
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
try:
|
|
32
|
+
from .numerical_error_module import python_internal_binary, decimal_to_binary
|
|
33
|
+
except ImportError:
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
try:
|
|
37
|
+
from .linearsystems_module import visual_solve_2d, visualize_conditioning, visualize_matrix_norms, jacobi_step, gauss_seidel_step, sor_step, visualize_convergence_2d, create_diagonally_dominant_matrix, iter_solve, steepest_descent, conjugate_gradient, IterationTracker, discretise_poisson, spai
|
|
38
|
+
except ImportError:
|
|
39
|
+
pass
|
|
40
|
+
|
|
41
|
+
try:
|
|
42
|
+
from .functions_module import weierstrass, plot_and_find_roots, complex_plot_with_shadow, plot_polynomial_roots_companion, plot_secant, plot_newton_raphson, plot_basins_of_attraction, newton_raphson
|
|
43
|
+
except ImportError:
|
|
44
|
+
pass
|
|
45
|
+
|
|
46
|
+
try:
|
|
47
|
+
from .optimization_module import visual_golden_section, visual_powell_2d, newton_method
|
|
48
|
+
except ImportError:
|
|
49
|
+
pass
|
|
50
|
+
|
|
51
|
+
try:
|
|
52
|
+
from .constrainedoptimization_module import plot_constrained_optimum_3d
|
|
53
|
+
except ImportError:
|
|
54
|
+
pass
|
|
55
|
+
from .differentiation_module import (
|
|
56
|
+
rocket_velocity,
|
|
57
|
+
rocket_acceleration,
|
|
58
|
+
forward_difference,
|
|
59
|
+
backward_difference,
|
|
60
|
+
central_difference,
|
|
61
|
+
second_derivative,
|
|
62
|
+
forward_diff,
|
|
63
|
+
backward_diff,
|
|
64
|
+
central_diff,
|
|
65
|
+
second_central_diff,
|
|
66
|
+
plot_secant_tangent_limit,
|
|
67
|
+
plot_derivative_comparison,
|
|
68
|
+
plot_error_scaling,
|
|
69
|
+
plot_surface_gradient_3d,
|
|
70
|
+
plot_noise_amplification,
|
|
71
|
+
plot_frequency_noise_spectrum,
|
|
72
|
+
plot_uneven_spacing_derivative,
|
|
73
|
+
)
|
|
74
|
+
from .integration_module import (
|
|
75
|
+
trapezoid_rule,
|
|
76
|
+
simpson_13_rule,
|
|
77
|
+
simpson_38_rule,
|
|
78
|
+
romberg_integration,
|
|
79
|
+
gauss_legendre_quadrature,
|
|
80
|
+
composite_trapezoid,
|
|
81
|
+
simpson13,
|
|
82
|
+
simpson38,
|
|
83
|
+
simpson_rule,
|
|
84
|
+
plot_area_under_curve,
|
|
85
|
+
plot_riemann_sum,
|
|
86
|
+
plot_trapezoid_rule,
|
|
87
|
+
plot_simpson_rule,
|
|
88
|
+
plot_romberg_convergence,
|
|
89
|
+
plot_gaussian_quadrature,
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
__all__ = [
|
|
93
|
+
"interactive_neural_network",
|
|
94
|
+
"train_until_convergence",
|
|
95
|
+
"plot_constrained_optimum_3d",
|
|
96
|
+
"plot_optimization_path_3d",
|
|
97
|
+
"plot_optimization_path_2d",
|
|
98
|
+
"ScalarTracker",
|
|
99
|
+
"plot_bracketed_progression",
|
|
100
|
+
"newton_method",
|
|
101
|
+
"visual_powell_2d",
|
|
102
|
+
"visual_golden_section",
|
|
103
|
+
"plot_polynomial_roots_companion",
|
|
104
|
+
"plot_secant",
|
|
105
|
+
"plot_newton_raphson",
|
|
106
|
+
"plot_basins_of_attraction",
|
|
107
|
+
"newton_raphson",
|
|
108
|
+
"plot_and_find_roots",
|
|
109
|
+
"complex_plot_with_shadow",
|
|
110
|
+
"weierstrass",
|
|
111
|
+
"discretise_poisson",
|
|
112
|
+
"spai",
|
|
113
|
+
"visual_solve_2d",
|
|
114
|
+
"visualize_conditioning",
|
|
115
|
+
"visualize_matrix_norms",
|
|
116
|
+
"jacobi_step",
|
|
117
|
+
"gauss_seidel_step",
|
|
118
|
+
"sor_step",
|
|
119
|
+
"visualize_convergence_2d",
|
|
120
|
+
"create_diagonally_dominant_matrix",
|
|
121
|
+
"iter_solve",
|
|
122
|
+
"steepest_descent",
|
|
123
|
+
"conjugate_gradient",
|
|
124
|
+
"IterationTracker",
|
|
125
|
+
"init_weights",
|
|
126
|
+
"tanh",
|
|
127
|
+
"tanh_derivative",
|
|
128
|
+
"forward",
|
|
129
|
+
"compute_loss",
|
|
130
|
+
"backward",
|
|
131
|
+
"plot_nn_diagram",
|
|
132
|
+
"init_model",
|
|
133
|
+
"forward_pass",
|
|
134
|
+
"backward_pass",
|
|
135
|
+
"step",
|
|
136
|
+
"reset_model",
|
|
137
|
+
"save_function",
|
|
138
|
+
"change_depth",
|
|
139
|
+
"change_width",
|
|
140
|
+
"draw_network",
|
|
141
|
+
"update_plots",
|
|
142
|
+
"RootFinderOpen",
|
|
143
|
+
"RootFinderClosed",
|
|
144
|
+
"OptimizerClosed",
|
|
145
|
+
"OptimizerOpen",
|
|
146
|
+
"OptimizerGrad",
|
|
147
|
+
"python_internal_binary",
|
|
148
|
+
"decimal_to_binary",
|
|
149
|
+
# Differentiation module
|
|
150
|
+
"rocket_velocity",
|
|
151
|
+
"rocket_acceleration",
|
|
152
|
+
"forward_difference",
|
|
153
|
+
"backward_difference",
|
|
154
|
+
"central_difference",
|
|
155
|
+
"second_derivative",
|
|
156
|
+
"forward_diff",
|
|
157
|
+
"backward_diff",
|
|
158
|
+
"central_diff",
|
|
159
|
+
"second_central_diff",
|
|
160
|
+
"plot_secant_tangent_limit",
|
|
161
|
+
"plot_derivative_comparison",
|
|
162
|
+
"plot_error_scaling",
|
|
163
|
+
"plot_surface_gradient_3d",
|
|
164
|
+
"plot_noise_amplification",
|
|
165
|
+
"plot_frequency_noise_spectrum",
|
|
166
|
+
"plot_uneven_spacing_derivative",
|
|
167
|
+
# Integration module
|
|
168
|
+
"trapezoid_rule",
|
|
169
|
+
"simpson_13_rule",
|
|
170
|
+
"simpson_38_rule",
|
|
171
|
+
"romberg_integration",
|
|
172
|
+
"gauss_legendre_quadrature",
|
|
173
|
+
"composite_trapezoid",
|
|
174
|
+
"simpson13",
|
|
175
|
+
"simpson38",
|
|
176
|
+
"simpson_rule",
|
|
177
|
+
"plot_area_under_curve",
|
|
178
|
+
"plot_riemann_sum",
|
|
179
|
+
"plot_trapezoid_rule",
|
|
180
|
+
"plot_simpson_rule",
|
|
181
|
+
"plot_romberg_convergence",
|
|
182
|
+
"plot_gaussian_quadrature",
|
|
183
|
+
]
|