Condividi tramite


norm Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

Represent a norm number. Each element is a floating point number in the range of [-1.0f, 1.0f].

Syntax

class norm;  

Members

Public Constructors

Name Description
norm::norm Constructor Overloaded. Default constructor. Initialize to 0.0f.

Public Operators

Name Description
norm::operator- Operator
norm::operator-- Operator
norm::operator float Operator Conversion operator. Convert the norm number to a floating point value.
norm::operator*= Operator
norm::operator/= Operator
norm::operator++ Operator
norm::operator+= Operator
norm::operator= Operator
norm::operator-= Operator

Inheritance Hierarchy

norm

Requirements

Header: amp_short_vectors.h

Namespace: Concurrency::graphics

norm::norm Constructor

Default constructor. Initialize to 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);

Parameters

_V
The value used to initialize.

_Other
The object used to initialize.

See Also

Concurrency::graphics Namespace