comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

python におけるシフト演算子(<< と >> )の使い方

32 = 2^5 なので、 << 1 とすると数値は2倍され、 >> 1 とすると数値が2分の1となる。 例 print(32 << 0) print(32 << …

no image

gnuplot でラベルにギリシャ文字を入力する方法

ギリシャ文字は、α・β・ζ・σ・・・などの文字のことである。gnuplot では、例えば、アルファ(α)を入力したい場合には、{/Symbol a} と入力する。 例 set xlabel “{/Sy …

no image

tex で期待値記号を入力する方法

\mathbf を使う。 例 $\mathbf{E}(\xi)$ 結果

no image

duコマンドの使い方。

du コマンドは、ストレージの使用状況を調べるコマンドである。 h オプションをつけると出力結果が human readble になる。 du の h は human の h と覚える ソート 出力結 …

no image

matplotlib でグラフの中に注釈の文字を書く方法

annotate を使う。 例 import numpy as np from matplotlib import pyplot as plt x = np.linspace(-10,10,100) …