次の方法で共有


double_2::double_2 コンストラクター

既定のコンストラクターは、 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);

パラメーター

  • _V0
    0 要素を初期化する値。

  • _V1
    要素 1. を初期化する値。

  • _V
    初期化の値。

  • _Other
    初期化するために使用するオブジェクト。

必要条件

ヘッダー: amp_short_vectors.h

名前空間: の同時実行:: グラフィックス

参照

関連項目

double_2 クラス