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.
Reverse endianness of 16-bit signed integers in-place.
Reverse endianness of 16-bit unsigned integers in-place.
Reverse endianness of 32-bit signed integers in-place.
Reverse endianness of 32-bit unsigned integers in-place.
Reverse endianness of 64-bit signed integers in-place.
Reverse endianness of 64-bit unsigned integers in-place.