名前空間
変種
操作

std::valarray::operator=

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

 
 
ニューメリックスライブラリ
一般的な数学関数
浮動小数点環境
複素数
数値配列
擬似乱数生成
コンパイル時有理数演算 (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
 
std::valarray
メンバ関数
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.
非メンバ関数
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.
ヘルパークラス
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
valarray<T>& operator=( const valarray<T>& other );
(1)
valarray<T>& operator=( valarray<T>&& other );
(2) (C + + 11以来)
valarray<T>& operator=( const T& val );
(3)
valarray<T>& operator=( const std::slice_array& );
(4)
valarray<T>& operator=( const std::gslice_array& );
(5)
valarray<T>& operator=( const std::mask_array& );
(6)
valarray<T>& operator=( const std::indirect_array& );
(7)
valarray<T>& operator=( std::initializer_list<T> il );
(8) (C + + 11以来)
数値配列の内容を置き換え.
Original:
Replaces the contents of the numeric array.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
コピー代入演算子。その他の内容のコピーを使って内容を置き換え.
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
代入演算子を移動します。他の使用して移動セマンティクスのもの(すなわち、他のデータはこの数値配列に他から移動されている)との内容を置換します。 otherその後は有効ですが、特定されていない状態になっている.
Original:
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in other is moved from other into this numeric array). other is in valid, but unspecified state afterwards.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
数値配列valの値内の各値を代入.
Original:
Assigns each value in the numeric array the value of val.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
8)
初期化子リストilの内容を割り当てます。 {{{1}}}に相当.
Original:
Assigns the contents of initializer list il. Equivalent to {{{1}}}.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

other -
代入を行う別の数値配列
Original:
another numeric array to assign
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 value to initialize each element with
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
il -
割り当てるには、初期化子リスト
Original:
initializer list to assign
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

*this

[編集] 例外

1)
(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
noexcept specification:  
noexcept
  (C + + 11以来)
3-8)
(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.