Windows apps
Collapse the table of content
Expand the table of content

Vector<T>::ExclusiveOr Operator

Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector<T> operator ^(
	Vector<T> left, 
	Vector<T> right
)

Parameters

left
Type: System.Numerics::Vector<T>

The first vector.

right
Type: System.Numerics::Vector<T>

The second vector.

Return Value

Type: System.Numerics::Vector<T>
The vector that results from the bitwise XOr of the elements in left and right.

The ExclusiveOr method defines the bitwise XOr operation for Vector<T> objects.

Show:
© 2017 Microsoft