名前空間
変種
操作

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.
 
const T& operator[]( std::size_t pos ) const;
T& operator[]( std::size_t pos );
(1)
valarray<T> operator[]( std::slice slicearr ) const;
(2)
std::slice_array<T> operator[]( std::slice slicearr );
(3)
valarray<T> operator[]( const std::gslice& gslicearr ) const;
(4)
gslice_array<T> operator[]( const std::gslice& gslicearr );
(5)
valarray<T> operator[]( const valarray<bool>& boolarr ) const;
(6)
valarray<T> operator[]( const valarray<size_t>& indarr ) const;
(7)
indirect_array<T> operator[]( const valarray<size_t>& indarr );
(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.