Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Representa um vetor curto de dois inteiros sem sinal.
Sintaxe
class uint_2;
Membros
Definições de Tipos Públicas
| Nome | Description |
|---|---|
value_type |
Construtores Públicos
| Nome | Description |
|---|---|
| uint_2 Construtor | Sobrecarregado. Construtor padrão, inicializa todos os elementos com 0. |
Métodos Públicos
| Nome | Description |
|---|---|
| uint_2::get_x | |
| uint_2::get_xy | |
| uint_2::get_y | |
| uint_2::get_yx | |
| uint_2::ref_g_Method | |
| uint_2::ref_r_Method | |
| uint_2::ref_x_Method | |
| uint_2::ref_y_Method | |
| uint_2::set_x | |
| uint_2::set_xy | |
| uint_2::set_y | |
| uint_2::set_yx |
Operadores Públicos
| Nome | Description |
|---|---|
| uint_2::operador-- | |
| uint_2::operador%= | |
| uint_2::operator&= | |
| uint_2::operator*= | |
| uint_2::operator/= | |
| uint_2::operator^= | |
| uint_2::operator|= | |
| uint_2::operador~ | |
| uint_2::operator++ | |
| uint_2::operator+= | |
| uint_2::operator<<= | |
| uint_2::operator= | |
| uint_2::operator-= | |
| uint_2::operator>>= |
Constantes Públicas
| Nome | Description |
|---|---|
| Constante de tamanho |
Membros de Dados Públicos
| Nome | Description |
|---|---|
| uint_2::g | |
| uint_2::gr | |
| uint_2::r | |
| uint_2::rg | |
| uint_2::x | |
| uint_2::xy | |
| uint_2::y | |
| uint_2::yx |
Hierarquia de herança
uint_2
Requerimentos
Cabeçalho: amp_short_vectors.h
Espaço de nomes: Simultaneidade::gráficos
uint_2
Construtor padrão, inicializa todos os elementos com 0.
uint_2() restrict(amp,
cpu);
uint_2(
unsigned int _V0,
unsigned int _V1) restrict(amp,
cpu);
uint_2(
unsigned int _V) restrict(amp,
cpu);
uint_2(
const uint_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const int_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const float_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const unorm_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const norm_2& _Other) restrict(amp,
cpu);
explicit inline uint_2(
const double_2& _Other) restrict(amp,
cpu);
Parâmetros
_V0
O valor para inicializar o elemento 0.
_V1
O valor para inicializar o elemento 1.
_V
O valor para a inicialização.
_Other
O objeto usado para inicializar.
size
static const int size = 2;