Share via


norm_4::norm_4 Constructor

Default constructor, initializes all elements with 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);

Parameters

  • _V0
    The value to initialize element 0.

  • _V1
    The value to initialize element 1.

  • _V2
    The value to initialize element 2.

  • _V3
    The value to initialize element 3.

  • _V
    The value for initialization.

  • _Other
    The object used to initialize.

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

See Also

Reference

norm_4 Class