executable-engineering 0.1.38__py3-none-any.whl → 0.1.39__py3-none-any.whl
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/openrootfinder_module.py +18 -12
- {executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/METADATA +1 -1
- {executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/RECORD +6 -6
- {executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/WHEEL +0 -0
- {executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/licenses/LICENSE +0 -0
- {executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/top_level.txt +0 -0
|
@@ -138,20 +138,26 @@ class RootFinderOpen:
|
|
|
138
138
|
return HTML(anim.to_jshtml())
|
|
139
139
|
|
|
140
140
|
def show_toggle_open(self, interval_ms=750):
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
newton_anim_html = self._make_animation_open('Newton', interval_ms)
|
|
142
|
+
secant_anim_html = self._make_animation_open('Secant', interval_ms)
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
if newton_anim_html is None or secant_anim_html is None:
|
|
145
|
+
print("Cannot create animations. Check function definition or initial points (x0, x1).")
|
|
146
|
+
return
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
newton_out = widgets.Output()
|
|
149
|
+
secant_out = widgets.Output()
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
with newton_out:
|
|
152
|
+
display(newton_anim_html)
|
|
153
|
+
|
|
154
|
+
with secant_out:
|
|
155
|
+
display(secant_anim_html)
|
|
153
156
|
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
tab_container = widgets.Tab()
|
|
158
|
+
tab_container.children = [newton_out, secant_out]
|
|
156
159
|
|
|
157
|
-
|
|
160
|
+
tab_container.set_title(0, 'Newton')
|
|
161
|
+
tab_container.set_title(1, 'Secant')
|
|
162
|
+
|
|
163
|
+
display(tab_container)
|
{executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: executable_engineering
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.39
|
|
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
|
|
@@ -6,9 +6,9 @@ executable_engineering/linearsystems_module.py,sha256=w6UkwZu80gUz5bAIWY47xJbwaE
|
|
|
6
6
|
executable_engineering/neuralnet_module.py,sha256=Hu9QFoMyODg4RCEpHmT9zTwzjcVFYM8ZLYtbB3CbrsA,10102
|
|
7
7
|
executable_engineering/numerical_error_module.py,sha256=wxfYP8u29c19I2D6MxpQV3zDMV0DpS1QUqFpp3f6eGE,1204
|
|
8
8
|
executable_engineering/openoptimization_module.py,sha256=OCPyrynkTo1It50RoT7irnL72aQn6FexE_R1SfFYxlg,8590
|
|
9
|
-
executable_engineering/openrootfinder_module.py,sha256=
|
|
10
|
-
executable_engineering-0.1.
|
|
11
|
-
executable_engineering-0.1.
|
|
12
|
-
executable_engineering-0.1.
|
|
13
|
-
executable_engineering-0.1.
|
|
14
|
-
executable_engineering-0.1.
|
|
9
|
+
executable_engineering/openrootfinder_module.py,sha256=R_lPtCQsIGLXV-j_uDpQepImOOgtgA7I6qnhUPwWLLc,5944
|
|
10
|
+
executable_engineering-0.1.39.dist-info/licenses/LICENSE,sha256=Tg4nrt8rFhgpkPbIA8SWoCR3MlGLw0NufB8AE6-TH_o,1074
|
|
11
|
+
executable_engineering-0.1.39.dist-info/METADATA,sha256=D3CtWo1BiOOo9yR8WeFNw-LBi94rd9flj-M2BxTqKC0,1648
|
|
12
|
+
executable_engineering-0.1.39.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
13
|
+
executable_engineering-0.1.39.dist-info/top_level.txt,sha256=0U5ATV5WGTLvN9rRSjQ54TyL-ztTyXaN3FzZ_QMq4HM,23
|
|
14
|
+
executable_engineering-0.1.39.dist-info/RECORD,,
|
|
File without changes
|
{executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{executable_engineering-0.1.38.dist-info → executable_engineering-0.1.39.dist-info}/top_level.txt
RENAMED
|
File without changes
|