std::valarray::operator+=,-=,*=,/=,%=,&=,|=,<<=,>>=
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
valarray<T> operator+=( const valarray<T>& v ); valarray<T> operator-=( const valarray<T>& v ); |
(1) | |
valarray<T> operator+=( const T& val ); valarray<T> operator-=( const T& val ); |
(2) | |
You can help to correct and verify the translation. Click here for instructions.
v
からの要素と対応する要素の前の値に対応する演算子を適用して得られた値が代入されます.v
.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.
v
内の任意の値が割り当て時に計算され、*this内の任意の値に依存している場合の動作は未定義である、すなわち、代入の右辺の式は、代入式の左辺にある変数を参照します。v
is computed during the assignment and depends on any of the values in *this, that is, the expression on the right side of the assignment refers to a variable in the left side of the assignment.You can help to correct and verify the translation. Click here for instructions.
val
の値に対応する演算子を適用することによって得られた値が代入されます.val
.You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
v | - | 別の数値配列
Original: another numeric array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
val | - | 値
Original: a value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
*this
[編集] 例外
(なし)
[編集] ノート
You can help to correct and verify the translation. Click here for instructions.
- 指定された演算子は
T
を入力するために適用することができるOriginal:The indicated operator can be applied to typeT
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - 結果値が一義的
T
(1-3)またはbool(4)に変換することができます.Original:The result value can be unambiguously converted toT
(1-3) or bool (4).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.
- constのすべてstd::valarrayメンバ関数が用意されています.Original:All const member functions of std::valarray are provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - std::valarray、std::slice_array、std::gslice_array、std::mask_arrayとstd::indirect_array交換タイプから構築することができます.Original:std::valarray, std::slice_array, std::gslice_array, std::mask_array and std::indirect_array can be constructed from the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - タイプconst std::valarray&の引数を受け付ける機能は、すべての交換タイプを受け入れる必要があります.Original:All functions accepting a arguments of type const std::valarray& should also accept the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - タイプconst std::valarray&の2つの引数を受け入れるすべての機能がconst std::valarray&と交換タイプのすべての組み合わせを受け入れるべき.Original:All functions accepting two arguments of type const std::valarray& should accept every combination of const std::valarray& and the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
-