Numerics library
提供: cppreference.com
< cpp
![]() | このページは、Google 翻訳を使って英語版から機械翻訳されました。 翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
C + +の数値計算ライブラリは、一般的な数学関数と型だけでなく、最適化された数値配列と乱数生成のためのサポートが含まれています.
Original:
The C++ numerics library includes common mathematical functions and types, as well as optimized numeric arrays and support for random number generation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集]一般的な数学関数
ヘッダ
cmath
標準Cライブラリの数学関数などstd::fabsとして提供し、std::sqrt、とstd::sin.Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集]複素数
Defined in header <complex> | |
複素数型 Original: a complex number type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
[編集]数値配列
Defined in header <valarray> | |
数値配列と配列のスライス Original: numeric arrays and array slices The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
[編集]汎用の数値演算
Defined in header <numeric> | |
(C++11) | 開始値の連続刻みで範囲を塗りつぶします Original: fills a range with successive increments of the starting value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
要素の範囲をまとめている Original: sums up a range of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
要素の2つの範囲の内積を計算します Original: computes the inner product of two ranges of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
範囲内の隣接する要素間の差を計算します Original: computes the differences between adjacent elements in a range The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
要素の範囲の部分和を計算します Original: computes the partial sum of a range of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
[編集]擬似乱数生成
ヘッダ
random
は擬似乱数生成と数値分布を定義します。ヘッダcstdlib
は、Cスタイルstd::srand経由乱数生成が含まれており、std::rand.Original:
The header
random
defines 擬似乱数生成と数値分布. The header cstdlib
also includes C-style random number generation via std::srand and std::rand.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集]時間有理数演算をコンパイルします(C++11およびそれ以降)
ヘッダ
ratio
はコンパイル時の比率を操作して保存するための型と関数を提供しています.Original:
The header
ratio
provides コンパイル時の比率を操作して保存するための型と関数.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集]浮動小数点環境
ヘッダ
fenv
と定義しフラグと卓越した浮動小数点状態に関連する機能、ゼロによる除算やオーバーフローなど.Original:
The header
fenv
defines フラグと卓越した浮動小数点状態に関連する機能, such as overflow and division by zero.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.