Espaços nominais
Variantes
Acções

std::valarray::operator[]

Da cppreference.com
< cpp‎ | numeric‎ | valarray

 
 
Biblioteca numéricos
Funções matemáticas comuns
De ponto flutuante ambiente
Números complexos
Matrizes numéricas
Pseudo-aleatório de geração de números
Tempo de compilação aritmética racional(C++11)
Genéricos operações numéricas
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.
(C++11)
 
 
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)

[editar]Parâmetros

[editar]Valor de retorno

[editar]Exceções

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