Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Mewakili vektor pendek dari empat angka normal.
Sintaks
class norm_4;
Anggota
Typedef Publik
| Nama | Deskripsi |
|---|---|
value_type |
Konstruktor Publik
| Nama | Deskripsi |
|---|---|
| Konstruktor norm_4 | Kelebihan beban. Konstruktor default, menginisialisasi semua elemen dengan 0. |
Metode Publik
| Nama | Deskripsi |
|---|---|
| norm_4::get_w | |
| norm_4::get_wx | |
| norm_4::get_wxy | |
| norm_4::get_wxyz | |
| norm_4::get_wxz | |
| norm_4::get_wxzy | |
| norm_4::get_wy | |
| norm_4::get_wyx | |
| norm_4::get_wyxz | |
| norm_4::get_wyz | |
| norm_4::get_wyzx | |
| norm_4::get_wz | |
| norm_4::get_wzx | |
| norm_4::get_wzxy | |
| norm_4::get_wzy | |
| norm_4::get_wzyx | |
| norm_4::get_x | |
| norm_4::get_xw | |
| norm_4::get_xwy | |
| norm_4::get_xwyz | |
| norm_4::get_xwz | |
| norm_4::get_xwzy | |
| norm_4::get_xy | |
| norm_4::get_xyw | |
| norm_4::get_xywz | |
| norm_4::get_xyz | |
| norm_4::get_xyzw | |
| norm_4::get_xz | |
| norm_4::get_xzw | |
| norm_4::get_xzwy | |
| norm_4::get_xzy | |
| norm_4::get_xzyw | |
| norm_4::get_y | |
| norm_4::get_yw | |
| norm_4::get_ywx | |
| norm_4::get_ywxz | |
| norm_4::get_ywz | |
| norm_4::get_ywzx | |
| norm_4::get_yx | |
| norm_4::get_yxw | |
| norm_4::get_yxwz | |
| norm_4::get_yxz | |
| norm_4::get_yxzw | |
| norm_4::get_yz | |
| norm_4::get_yzw | |
| norm_4::get_yzwx | |
| norm_4::get_yzx | |
| norm_4::get_yzxw | |
| norm_4::get_z | |
| norm_4::get_zw | |
| norm_4::get_zwx | |
| norm_4::get_zwxy | |
| norm_4::get_zwy | |
| norm_4::get_zwyx | |
| norm_4::get_zx | |
| norm_4::get_zxw | |
| norm_4::get_zxwy | |
| norm_4::get_zxy | |
| norm_4::get_zxyw | |
| norm_4::get_zy | |
| norm_4::get_zyw | |
| norm_4::get_zywx | |
| norm_4::get_zyx | |
| norm_4::get_zyxw | |
| norm_4::ref_a | |
| norm_4::ref_b | |
| norm_4::ref_g | |
| norm_4::ref_r | |
| norm_4::ref_w | |
| norm_4::ref_x | |
| norm_4::ref_y | |
| norm_4::ref_z | |
| norm_4::set_w | |
| norm_4::set_wx | |
| norm_4::set_wxy | |
| norm_4::set_wxyz | |
| norm_4::set_wxz | |
| norm_4::set_wxzy | |
| norm_4::set_wy | |
| norm_4::set_wyx | |
| norm_4::set_wyxz | |
| norm_4::set_wyz | |
| norm_4::set_wyzx | |
| norm_4::set_wz | |
| norm_4::set_wzx | |
| norm_4::set_wzxy | |
| norm_4::set_wzy | |
| norm_4::set_wzyx | |
| norm_4::set_x | |
| norm_4::set_xw | |
| norm_4::set_xwy | |
| norm_4::set_xwyz | |
| norm_4::set_xwz | |
| norm_4::set_xwzy | |
| norm_4::set_xy | |
| norm_4::set_xyw | |
| norm_4::set_xywz | |
| norm_4::set_xyz | |
| norm_4::set_xyzw | |
| norm_4::set_xz | |
| norm_4::set_xzw | |
| norm_4::set_xzwy | |
| norm_4::set_xzy | |
| norm_4::set_xzyw | |
| norm_4::set_y | |
| norm_4::set_yw | |
| norm_4::set_ywx | |
| norm_4::set_ywxz | |
| norm_4::set_ywz | |
| norm_4::set_ywzx | |
| norm_4::set_yx | |
| norm_4::set_yxw | |
| norm_4::set_yxwz | |
| norm_4::set_yxz | |
| norm_4::set_yxzw | |
| norm_4::set_yz | |
| norm_4::set_yzw | |
| norm_4::set_yzwx | |
| norm_4::set_yzx | |
| norm_4::set_yzxw | |
| norm_4::set_z | |
| norm_4::set_zw | |
| norm_4::set_zwx | |
| norm_4::set_zwxy | |
| norm_4::set_zwy | |
| norm_4::set_zwyx | |
| norm_4::set_zx | |
| norm_4::set_zxw | |
| norm_4::set_zxwy | |
| norm_4::set_zxy | |
| norm_4::set_zxyw | |
| norm_4::set_zy | |
| norm_4::set_zyw | |
| norm_4::set_zywx | |
| norm_4::set_zyx | |
| norm_4::set_zyxw |
Operator Publik
| Nama | Deskripsi |
|---|---|
| norm_4::operator- | |
| norm_4::operator-- | |
| norm_4::operator*= | |
| norm_4::operator/= | |
| norm_4::operator++ | |
| norm_4::operator+= | |
| norm_4::operator= | |
| norm_4::operator-= |
Konstanta Publik
| Nama | Deskripsi |
|---|---|
| konstanta ukuran |
Anggota Data Publik
| Nama | Deskripsi |
|---|---|
| norm_4::a | |
| norm_4::ab | |
| norm_4::abg | |
| norm_4::abgr | |
| norm_4::abr | |
| norm_4::abrg | |
| norm_4::ag | |
| norm_4::agb | |
| norm_4::agbr | |
| norm_4::agr | |
| norm_4::agrb | |
| norm_4::ar | |
| norm_4::arb | |
| norm_4::arbg | |
| norm_4::arg | |
| norm_4::argb | |
| norm_4::b | |
| norm_4::ba | |
| norm_4::bag | |
| norm_4::bagr | |
| norm_4::bar | |
| norm_4::barg | |
| norm_4::bg | |
| norm_4::bga | |
| norm_4::bgar | |
| norm_4::bgr | |
| norm_4::bgra | |
| norm_4::br | |
| norm_4::bra | |
| norm_4::brag | |
| norm_4::brg | |
| norm_4::brga | |
| norm_4::g | |
| norm_4::ga | |
| norm_4::gab | |
| norm_4::gabr | |
| norm_4::gar | |
| norm_4::garb | |
| norm_4::gb | |
| norm_4::gba | |
| norm_4::gbar | |
| norm_4::gbr | |
| norm_4::gbra | |
| norm_4::gr | |
| norm_4::gra | |
| norm_4::ambil | |
| norm_4::grb | |
| norm_4::grba | |
| norm_4::r | |
| norm_4::ra | |
| norm_4::rab | |
| norm_4::rabg | |
| norm_4::rag | |
| norm_4::ragb | |
| norm_4::rb | |
| norm_4::rba | |
| norm_4::rbag | |
| norm_4::rbg | |
| norm_4::rbga | |
| norm_4::rg | |
| norm_4::rga | |
| norm_4::rgab | |
| norm_4::rgb | |
| norm_4::rgba | |
| norm_4::w | |
| norm_4::wx | |
| norm_4::wxy | |
| norm_4::wxyz | |
| norm_4::wxz | |
| norm_4::wxzy | |
| norm_4::wy | |
| norm_4::wyx | |
| norm_4::wyxz | |
| norm_4::wyz | |
| norm_4::wyzx | |
| norm_4::wz | |
| norm_4::wzx | |
| norm_4::wzxy | |
| norm_4::wzy | |
| norm_4::wzyx | |
| norm_4::x | |
| norm_4::xw | |
| norm_4::xwy | |
| norm_4::xwyz | |
| norm_4::xwz | |
| norm_4::xwzy | |
| norm_4::xy | |
| norm_4::xyw | |
| norm_4::xywz | |
| norm_4::xyz | |
| norm_4::xyzw | |
| norm_4::xz | |
| norm_4::xzw | |
| norm_4::xzwy | |
| norm_4::xzy | |
| norm_4::xzyw | |
| norm_4::y | |
| norm_4::yw | |
| norm_4::ywx | |
| norm_4::ywxz | |
| norm_4::ywz | |
| norm_4::ywzx | |
| norm_4::yx | |
| norm_4::yxw | |
| norm_4::yxwz | |
| norm_4::yxz | |
| norm_4::yxzw | |
| norm_4::yz | |
| norm_4::yzw | |
| norm_4::yzwx | |
| norm_4::yzx | |
| norm_4::yzxw | |
| norm_4::z | |
| norm_4::zw | |
| norm_4::zwx | |
| norm_4::zwxy | |
| norm_4::zwy | |
| norm_4::zwyx | |
| norm_4::zx | |
| norm_4::zxw | |
| norm_4::zxwy | |
| norm_4::zxy | |
| norm_4::zxyw | |
| norm_4::zy | |
| norm_4::zyw | |
| norm_4::zywx | |
| norm_4::zyx | |
| norm_4::zyxw |
Hierarki Warisan
norm_4
Persyaratan
Header: amp_short_vectors.h
Namespace: Konkurensi::grafis
norm_4
Konstruktor default, menginisialisasi semua elemen dengan 0.
norm_4() restrict(amp,
cpu);
norm_4(
norm _V0,
norm _V1,
norm _V2,
norm _V3) restrict(amp,
cpu);
norm_4(
float _V0,
float _V1,
float _V2,
float _V3) restrict(amp,
cpu);
norm_4(
unorm _V0,
unorm _V1,
unorm _V2,
unorm _V3) restrict(amp,
cpu);
norm_4(
norm _V) restrict(amp,
cpu);
explicit norm_4(
float _V) restrict(amp,
cpu);
norm_4(
const norm_4& _Other) restrict(amp,
cpu);
explicit inline norm_4(
const uint_4& _Other) restrict(amp,
cpu);
explicit inline norm_4(
const int_4& _Other) restrict(amp,
cpu);
explicit inline norm_4(
const float_4& _Other) restrict(amp,
cpu);
explicit inline norm_4(
const unorm_4& _Other) restrict(amp,
cpu);
explicit inline norm_4(
const double_4& _Other) restrict(amp,
cpu);
Parameter
_V0
Nilai untuk menginisialisasi elemen 0.
_V1
Nilai untuk menginisialisasi elemen 1.
_V2
Nilai untuk menginisialisasi elemen 2.
_V3
Nilai untuk menginisialisasi elemen 3.
_V
Nilai untuk inisialisasi.
_Other
Objek yang digunakan untuk menginisialisasi.
size
static const int size = 4;