comment

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

関連記事

no image

matplotlib でエラーバーを設定する方法

pyplot.errorbar を使って設定する。 オプションの詳細は https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.erro …

no image

c++ で文字列が他の文字列を含むか判定する方法

文字列を含むかどうか判定するには、string の find を使う。見つからなかった場合は、std::string::npos を返す。 例 #include <iostream> #i …

no image

tex でバックスラッシュを入力する方法

テキストモードでは \textbackslash 数式モード内では \backslash を、それぞれ使う。 例 $\backslash$ \textbackslash 結果

no image

std::vector で、vector の要素を erase() で消去する

任意の要素を指定して、 養素を消去することができる。 例 #include <iostream> #include <vector> int main() { std::vector&lt …

no image

tex で文章を右寄せにする方法

テキストを \flushright で囲めば良い。 例 \begin{flushright} Lorem, ipsum dolor sit amet consectetur adipisicing e …