std::complex::operator+(unary), operator-(unary)
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
template< class T > complex<T> operator+( const complex<T>& val ); |
(1) | |
template< class T > complex<T> operator-( const complex<T>& val ); |
(2) | |
複素数の単項算術演算子の類似を実装.
Original:
Implements the analogs of the unary arithmetic operators for complex numbers.
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.
1)
その引数の値を返します
Original:
Returns the value of its argument
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.
2)
引数を否定します
Original:
Negates the argument
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.
[編集] パラメータ
val | - | 複素数引数
Original: the complex number argument The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
1)
引数のコピー、complex<T>(val)
Original:
a copy of the argument, complex<T>(val)
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.
2)
否定された引数、complex<T>(-val.real(), -val.imag())
Original:
negated argument, complex<T>(-val.real(), -val.imag())
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.
[編集] 参照
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. (関数テンプレート) |