Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def MIN(X): | |
"returns the minimum value in a list of numbers" | |
if len(X)>2: | |
x = X[0] | |
y = MIN(X[1:]) | |
else: | |
x,y = X | |
sn = (x-y)/(2*abs(x-y)) | |
b = (x*(0.5-sn)+y*(sn+0.5)) | |
return b |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
damon@damon-desktop:~/Desktop$ ipython3 notebook | |
[I 12:26:11.906 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js | |
[I 12:26:11.922 NotebookApp] Serving notebooks from local directory: /home/damon/Desktop | |
[I 12:26:11.922 NotebookApp] 0 active kernels | |
[I 12:26:11.922 NotebookApp] The IPython Notebook is running at: http://localhost:8888/ | |
[I 12:26:11.923 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). | |
(process:11718): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed | |
[I 12:26:16.992 NotebookApp] Creating new notebook in | |
[I 12:26:19.411 NotebookApp] Kernel started: b8e0f1de-59b2-468c-87a3-0e38f5d24910 |
NewerOlder