Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
İmzalanmamış iki normal sayının kısa vektörlerini temsil eder.
Sözdizimi
class unorm_2;
Members
Genel Tür Tanımları
| İsim | Açıklama |
|---|---|
value_type |
Ortak Oluşturucular
| İsim | Açıklama |
|---|---|
| unorm_2 Oluşturucu | Aşırı yüklü. Varsayılan oluşturucu, 0 ile tüm öğeleri başlatır. |
Genel Yöntemler
| İsim | Açıklama |
|---|---|
| unorm_2::get_x | |
| unorm_2::get_xy | |
| unorm_2::get_y | |
| unorm_2::get_yx | |
| unorm_2::ref_g | |
| unorm_2::ref_r | |
| unorm_2::ref_x | |
| unorm_2::ref_y | |
| unorm_2::set_x | |
| unorm_2::set_xy | |
| unorm_2::set_y | |
| unorm_2::set_yx |
Ortak İşleçler
| İsim | Açıklama |
|---|---|
| unorm_2::operator-- | |
| unorm_2::operator*= | |
| unorm_2::operator/= | |
| unorm_2::operator++ | |
| unorm_2::operator+= | |
| unorm_2::operator= | |
| unorm_2::operator-= |
Genel Sabitler
| İsim | Açıklama |
|---|---|
| unorm_2::size sabiti |
Ortak Veri Üyeleri
| İsim | Açıklama |
|---|---|
| unorm_2::g | |
| unorm_2::gr | |
| unorm_2::r | |
| unorm_2::rg | |
| unorm_2::x | |
| unorm_2::xy | |
| unorm_2::y | |
| unorm_2::yx |
Devralma Hiyerarşisi
unorm_2
Gereksinimler
Üst bilgi: amp_short_vectors.h
Ad Alanı: Concurrency::graphics
unorm_2
Varsayılan oluşturucu, 0 ile tüm öğeleri başlatır.
unorm_2() restrict(amp,
cpu);
unorm_2(
unorm _V0,
unorm _V1) restrict(amp,
cpu);
unorm_2(
float _V0,
float _V1) restrict(amp,
cpu);
unorm_2(
unorm _V) restrict(amp,
cpu);
explicit unorm_2(
float _V) restrict(amp,
cpu);
unorm_2(
const unorm_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const uint_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const int_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const float_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const norm_2& _Other) restrict(amp,
cpu);
explicit inline unorm_2(
const double_2& _Other) restrict(amp,
cpu);
Parametreler
_V0
0 öğesini başlatacak değer.
_V1
1. öğeyi başlatacak değer.
_V
Başlatma değeri.
_Diğer
Başlatmak için kullanılan nesne.
boyut
static const int size = 2;