| Laps | Recognized As… | |||||
| Bu | Ba | Br | Fr | NA | ||
| Actual Stroke | Bu | 2 | 0 | 0 | 3 | 0 |
| Ba | 0 | 5 | 0 | 0 | 0 | |
| Br | 0 | 6 | 6 | 0 | 1 | |
| Fr | 0 | 0 | 0 | 49 | 0 | |
500m kicks were completely ignored and recorded as 18min. rest... orz.
美術館歩きの記録など
| Laps | Recognized As… | |||||
| Bu | Ba | Br | Fr | NA | ||
| Actual Stroke | Bu | 2 | 0 | 0 | 3 | 0 |
| Ba | 0 | 5 | 0 | 0 | 0 | |
| Br | 0 | 6 | 6 | 0 | 1 | |
| Fr | 0 | 0 | 0 | 49 | 0 | |
z [yen] = 品物A + 0.11z [pt] z [pt] = 品物A品物A を消去して
z [yen] - z[pt] = 0.11z [pt] <=> (1+0.11)z [pt] = z[yen]従って
1 [pt] = 1/(1.11)[yen] = 0.9009009... [yen].
支出 y [pt] = (1/1.11) y[yen] = 0.9009...y [yen] 収入 0 [yen] 総支払額 y [pt] = (1/1.11) y[yen]
支出 y [yen] 収入 0.11y [pt] = 0.11x(1/1.11)y [yen] = 0.099099...y [yen] 総支払額 = y [yen] - 0.11y [pt] = (1-0.11/1.11)y [yen] = 1/1.11 y [yen]ポイントで支払った場合と最終的な収支は同じである。
支出 y [yen] 収入 0.06y [pt] = 0.06x(1/1.11)y [yen] = 0.05405...y [yen] 総支払額 = y [yen] - 0.06y [pt] = (1-0.06/1.11)y [yen] = 1.05/1.11 y [yen] > 1/1.11y[yen]ポイントで支払うよりも、総支払額が多くなる。
"C:\opt\IntelPython35\Scripts\jupyter.exe" nbextensions_configurator enable --user
"C:\opt\IntelPython35\Scripts\jupyter.exe" contrib nbextension install --user
from sympy import *
init_printing() # to print with mathjax on jupyter notebook
a=Symbol('a');
b=Symbol('b');
c=Symbol('c');
x=Symbol('x');
y=Symbol('y');
expr = a*x**2 + b*x + c;
solve(expr, x)
Reading 16-bit grayscale multipage TIFF file with python scikit-image:Python code:
import skimage.io as skiio
matMOV = skiio.imread("movie.tif");
print("Pages:%i, Height: %i, Width: %i"\
%( matMOV.shape[0]\
, matMOV.shape[1]\
, matMOV.shape[2]))
Result:
Pages:631, Height: 875, Width: 748
Keywords: TIFF TIF file multipage multi-page
% dir > dir.txt & start dir.txtKeywords: pipe, clip, clipboard, command prompt, redirect
%matplotlib inline import numpy as np import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties fp = FontProperties(fname=r'C:\WINDOWS\Fonts\YuGothic.ttf', size=14) X = np.linspace(0, 2*np.pi, 100); C = np.cos(X); plt.plot(X, C); plt.title(u"余弦関数", fontproperties=fp) plt.xlabel(u"位相", fontproperties=fp)
python.exe -m pip install [path/to/file.whl]以下でよかった
python.exe -m pip install packagename --proxy=user@proxy.hoge.jp:port
message(STATUS,”hoge”)
message(STATUS, “PARAMNAME = ${PARAMNAME}”)
>>> import cv2 >>> cv2.__version__ '3.2.0-dev' >>>
>>> import cv2 Traceback (most recent call last): File "", line 1, in ImportError: DLL load failed: 指定されたモジュールが見つかりません。