std::complex
提供: cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <complex>
|
||
template< class T > class complex; //not defined |
(1) | |
template<> class complex<float>; |
(2) | |
template<> class complex<double>; |
(3) | |
template<> class complex<long double>; |
(4) | |
スペシャstd::complex<float>、std::complex<double>、そしてstd::complex<long double>は複素数を表現および操作するためのリテラルタイプです.
Original:
The specializations std::complex<float>, std::complex<double>, and std::complex<long double> are literal types for representing and manipulating 複素数.
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.
他のタイプのテンプレート
complex
をインスタンス化の効果は未定義である.Original:
The effect of instantiating the template
complex
for any other type is unspecified.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.
[編集] メンバータイプ
メンバー·タイプ
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
value_type
|
T
|
[編集] メンバ関数
複素数を構築します Original: constructs a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |
内容が割り当てられます Original: assigns the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |
複素数の実数部分にアクセスします Original: accesses the real part of the complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |
accesses the imaginary part of the complex number (パブリックメンバ関数) | |
2複素数や複雑とスカラーの複合代入 Original: compound assignment of two complex numbers or a complex and a scalar The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |
[編集] 非メンバ関数
複素数に単項演算子を適用します Original: applies unary operators to complex numbers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
2複雑な値や複雑とスカラーで複素数演算を実行します Original: performs complex number arithmetics on two complex values or a complex and a scalar The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
2複素数や複雑とスカラーを比較します Original: compares two complex numbers or a complex and a scalar The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
複素数をシリアライズしてデシリアライズします Original: serializes and deserializes a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
実際のコンポーネントを返します Original: returns the real component The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
虚数成分を返します Original: returns the imaginary component The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
複素数の絶対値を返します Original: returns the magnitude of a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
位相角を返します Original: returns the phase angle The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
振幅の2乗を返します Original: returns the squared magnitude The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
複素共役を返します Original: returns the complex conjugate The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
(C++11) |
リーマン球面への射影を返します Original: returns the projection onto the Riemann sphere The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
振幅と位相角から複素数を構築します Original: constructs a complex number from magnitude and phase angle The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
Original: Exponential functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
complex base e exponential (関数テンプレート) | |
負の実軸に沿って分岐切断線を持つ複雑な自然対数 Original: complex natural logarithm with the branch cuts along the negative real axis The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
complex common logarithm with the branch cuts along the negative real axis (関数テンプレート) | |
Original: Power functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
複雑な電力は、一方または両方の引数が複素数かもしれません Original: complex power, one or both arguments may be a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
右半平面の範囲内の複雑な平方根 Original: complex square root in the range of the right half-plane The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
Original: Trigonometric functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
複素数(sin(z))の正弦を計算します Original: computes sine of a complex number (sin(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
複素数のコサインを計算(cos(z)) Original: computes cosine of a complex number (cos(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
複素数(tan(z))のタンジェントを計算します Original: computes tangent of a complex number (tan(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
(C++11) |
computes arc sine of a complex number (arcsin(z)) (関数テンプレート) |
(C++11) |
複素数の逆余弦(arccos(z))を計算します Original: computes arc cosine of a complex number (arccos(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
(C++11) |
computes arc tangent of a complex number (arctan(z)) (関数テンプレート) |
Original: Hyperbolic functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
複素数(sh(z))の双曲線正弦を計算します Original: computes hyperbolic sine of a complex number (sh(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
複素数(ch(z))の双曲線余弦を計算します Original: computes hyperbolic cosine of a complex number (ch(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
計算複素数の双曲線タンジェント Original: computes hyperbolic tangent of a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
(C++11) |
複素数の双曲線正弦を計算します Original: computes hyperbolic arc sine of a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
(C++11) |
複素数の逆双曲線余弦を計算します Original: computes hyperbolic arc cosine of a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
(C++11) |
複素数の逆双曲線正接を計算します Original: computes hyperbolic arc tangent of a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |