名前空間
変種
操作

std::complex::operator+(unary), operator-(unary)

提供: cppreference.com
< cpp‎ | numeric‎ | complex

 
 
ニューメリックスライブラリ
一般的な数学関数
浮動小数点環境
複素数
数値配列
擬似乱数生成
コンパイル時有理数演算 (C++11)
汎用の数値演算
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
複素数
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
complex::complex
complex::operator=
complex::real
complex::imag
complex::operator+=
complex::operator-=
complex::operator*=
complex::operator/=
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator==
operator!=
operator<<
operator>>
real
imag
abs
arg
norm
conj
proj(C++11)
polar
指数関数
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.
exp
log
log10
電源機能
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.
pow
sqrt
三角関数
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.
asin(C++11)
acos(C++11)
atan(C++11)
双曲線関数
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.
asinh(C++11)
acosh(C++11)
atanh(C++11)
 
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.
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.
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.

[編集] パラメータ

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.
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.

[編集] も参照してください

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.

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