Varianti

std::valarray::operator[]

Da cppreference.com.

<metanoindex/>

 
 
Numeri libreria
Comuni funzioni matematiche
Virgola mobile ambiente
I numeri complessi
Array numerici
Pseudo-casuale generazione
In fase di compilazione aritmetica razionale (C++11)
Generici operazioni numeriche
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
 
 
<tbody> </tbody>
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)

Parametri

Valore di ritorno

Eccezioni

(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.