Vector.Xor<T>(Vector<T>, Vector<T>) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Returnerar en ny vektor genom att utföra en bitvis exklusiv eller (XOr) åtgärd på varje elementpar i två vektorer.
public:
generic <typename T>
where T : value class static System::Numerics::Vector<T> Xor(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public:
generic <typename T>
static System::Numerics::Vector<T> Xor(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> Xor<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static System.Numerics.Vector<T> Xor<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member Xor : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Xor : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Function Xor(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Xor(Of T) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Xor(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Typparametrar
- T
Vektortypen.
T kan vara valfri primitiv numerisk typ.
Parametrar
- left
- Vector<T>
Den första vektorn.
- right
- Vector<T>
Den andra vektorn.
Returer
Den resulterande vektorn.