Vector.Xor Method
Computes the exclusive disjunction of two boolean vectors.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A vector whose elements are the exclusive disjunction (exclusive 'or') of the corresponding elements of left and right.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static Vector<bool> Xor(
Vector<bool> left,
Vector<bool> right
)
Parameters
Return Value
Vector<Boolean>A vector whose elements are the exclusive disjunction (exclusive 'or') of the corresponding elements of left and right.
Exceptions
Argument | left is null. -or- right is null. |
Dimension | left and right do not have the same length. |