BinaryTransformations
Provides various binary transformations.
public static void AndNot<T>(this ReadOnlySpan<T> x, Span<T> y) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Performs bitwise AND-NOT operation between two vectors in-place.
public static void BitwiseAnd<T>(this ReadOnlySpan<T> x, Span<T> y) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Performs bitwise AND operation between two vectors in-place.
public static void BitwiseOr<T>(this ReadOnlySpan<T> x, Span<T> y) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Performs bitwise OR operation between two vectors in-place.
public static void BitwiseXor<T>(this ReadOnlySpan<T> x, Span<T> y) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Performs bitwise XOR operation between two vectors in-place.
public static void OnesComplement<T>(this Span<T> values) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Inverts all bits within the provided vector in-place.
public static void Reverse<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Reverse bytes in the specified value of blittable type.