norm::norm 构造函数

默认构造函数。 初始化为 0.0f。

norm(
   void
) restrict(amp,cpu);
explicit norm(
   float _V
) restrict(amp,cpu);
explicit norm(
   unsigned int _V
) restrict(amp,cpu);
explicit norm(
   int _V
) restrict(amp,cpu);
explicit norm(
   double _V
) restrict(amp,cpu);
norm(
   const norm& _Other
) restrict(amp,cpu);
norm(
   const unorm& _Other
) restrict(amp,cpu);

参数

  • _V
    用来初始化的值。

  • _Other
    被用来初始化的对象。

要求

**页眉:**amp_short_vectors.h

**命名空间:**Concurrency::graphics

请参见

参考

norm 类