Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Stellt einen kurzen Vektor aus zwei Doubles dar.
Syntax
class double_2;
Member
Öffentliche Typedefs
| Name | Beschreibung |
|---|---|
value_type |
Öffentliche Konstruktoren
| Name | Beschreibung |
|---|---|
| double_2-Konstruktor | Überladen. Standardkonstruktor, initialisiert alle Elemente mit 0. |
Öffentliche Methoden
| Name | Beschreibung |
|---|---|
| double_2::get_x | |
| double_2::get_xy | |
| double_2::get_y | |
| double_2::get_yx | |
| double_2::ref_g | |
| double_2::ref_r | |
| double_2::ref_x | |
| double_2::ref_y | |
| double_2::set_x | |
| double_2::set_xy | |
| double_2::set_y | |
| double_2::set_yx |
Öffentliche Operatoren
| Name | Beschreibung |
|---|---|
| double_2::operator- | |
| double_2::operator-- | |
| double_2::operator*= | |
| double_2::operator/= | |
| double_2::operator++ | |
| double_2::operator+= | |
| double_2::operator= | |
| double_2::operator-= |
Öffentliche Konstanten
| Name | Beschreibung |
|---|---|
| double_2::size-Konstante |
Öffentliche Datenmember
| Name | Beschreibung |
|---|---|
| double_2::g | |
| double_2::gr | |
| double_2::r | |
| double_2::rg | |
| double_2::x | |
| double_2::xy | |
| double_2::y | |
| double_2::yx |
Vererbungshierarchie
double_2
Anforderungen
Kopfzeile: amp_short_vectors.h
Namespace: Parallelität::graphics
double_2
Standardkonstruktor, initialisiert alle Elemente mit 0.
double_2() restrict(amp,
cpu);
double_2(
double _V0,
double _V1) restrict(amp,
cpu);
double_2(
double _V) restrict(amp,
cpu);
double_2(
const double_2& _Other) restrict(amp,
cpu);
explicit inline double_2(
const uint_2& _Other) restrict(amp,
cpu);
explicit inline double_2(
const int_2& _Other) restrict(amp,
cpu);
explicit inline double_2(
const float_2& _Other) restrict(amp,
cpu);
explicit inline double_2(
const unorm_2& _Other) restrict(amp,
cpu);
explicit inline double_2(
const norm_2& _Other) restrict(amp,
cpu);
Parameter
_V0
Der Wert zum Initialisieren des Elements 0.
_V1
Der Wert zum Initialisieren des Elements 1.
_V
Der Wert für die Initialisierung.
_Other
Das Objekt, das zum Initialisieren verwendet wird.
size
static const int size = 2;