The Wayback Machine - https://web.archive.org/web/20180113152632/http://ja.cppreference.com:80/w/cpp/numeric
名前空間
変種
操作

Numerics library

提供: cppreference.com
< cpp

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.

目次

[編集]一般的な数学関数

ヘッダcmath標準Cライブラリの数学関数などstd::fabsとして提供し、std::sqrt、とstd::sin.
Original:
The header cmath provides 標準Cライブラリの数学関数 such as std::fabs, std::sqrt, and std::sin.
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 <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.

(関数テンプレート)[edit]
要素の範囲をまとめている
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.

(関数テンプレート)[edit]
要素の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.

(関数テンプレート)[edit]
範囲内の隣接する要素間の差を計算します
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.

(関数テンプレート)[edit]
要素の範囲の部分和を計算します
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.

(関数テンプレート)[edit]

[編集]擬似乱数生成

ヘッダ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.

[編集]時間有理数演算をコンパイルします(C++11およびそれ以降)

ヘッダratioコンパイル時の比率を操作して保存するための型と関数を提供しています.
Original:
The text has been machine-translated via Google Translate.
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.
close