comment

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

関連記事

no image

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

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

no image

tex の equation 環境で複数行の数式を入力する(\split を使う)

\equation の中で \split を使う。 \tag を使って、自分で定義した式番号を使える。 例 \begin{equation} \begin{split} a \\ b \\ c \en …

no image

linux で、コマンドライン引数にスペースを含めたい場合

コマンドライン引数に “” を指定するとよい。 例 mkdir “mydir 123”

no image

tex でノルムを入力する方法

\| を使う。 例 $\|u\|$ 結果 美味しんぼ(43)【電子書籍】[ 雁屋哲 ]価格:605円(税別、送料別)(2020/12/25時点)楽天で購入

no image

python3 で、すべて小文字かどうかを判定する方法

islower() 関数を使う。 例 print(‘abcde’.islower()) print(‘abcDe’.islower()) 結果 True False