System.Numerics.Vector
Contains various methods useful for creating, manipulating, combining, and converting generic vectors with one another.
Returns whether or not vector operations are subject to hardware acceleration through JIT intrinsic support.
Returns a new vector whose elements are the absolute values of the given vector's elements.
Creates a new vector whose values are the sum of each pair of elements from the two given vectors.
Returns a new vector by performing a bitwise-and-not operation on each of the elements in the given vectors.
Reinterprets the bits of the given vector into those of a vector of unsigned bytes.
Reinterprets the bits of the given vector into those of a vector of 64-bit floating point numbers.
Reinterprets the bits of the given vector into those of a vector of signed 16-bit integers.
Reinterprets the bits of the given vector into those of a vector of signed 32-bit integers.
Reinterprets the bits of the given vector into those of a vector of signed 64-bit integers.
Reinterprets the bits of the given vector into those of a vector of signed bytes.
Reinterprets the bits of the given vector into those of a vector of 32-bit floating point numbers.
Reinterprets the bits of the given vector into those of a vector of 16-bit integers.
Reinterprets the bits of the given vector into those of a vector of unsigned 32-bit integers.
Reinterprets the bits of the given vector into those of a vector of unsigned 64-bit integers.
Returns a new vector by performing a bitwise-and operation on each of the elements in the given vectors.
Returns a new vector by performing a bitwise-or operation on each of the elements in the given vectors.
public static Vector<float> ConditionalSelect(Vector<int> condition, Vector<float> left, Vector<float> right)
Creates a new vector with elements selected between the two given source vectors, and based on a mask vector.
public static Vector<double> ConditionalSelect(Vector<long> condition, Vector<double> left, Vector<double> right)
Creates a new vector with elements selected between the two given source vectors, and based on a mask vector.
public static Vector<T> ConditionalSelect<T>(Vector<T> condition, Vector<T> left, Vector<T> right) where T : struct
Creates a new vector with elements selected between the two given source vectors, and based on a mask vector.
Returns a new vector whose values are the result of dividing the first vector's elements
by the corresponding elements in the second vector.
Returns the dot product of two vectors.
Returns a new vector whose elements signal whether the elements in left and right were equal.
Returns an integral vector whose elements signal whether elements in the left and right floating point vectors were equal.
Returns a new vector whose elements signal whether the elements in left and right were equal.
Returns an integral vector whose elements signal whether elements in the left and right floating point vectors were equal.
Returns a new vector whose elements signal whether the elements in left and right were equal.
Returns a boolean indicating whether each pair of elements in the given vectors are equal.
Returns a boolean indicating whether any single pair of elements in the given vectors are equal.
Returns a new vector whose elements signal whether the elements in left were greater than their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were greater than their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were greater than their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were greater than their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were greater than their
corresponding elements in right.
Returns a boolean indicating whether all elements in left are greater than the corresponding elements in right.
elements in right.
Returns a boolean indicating whether any element in left is greater than its corresponding element in right.
Returns a new vector whose elements signal whether the elements in left were greater than or equal to their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were greater than or equal to their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were greater than or equal to their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were greater than or equal to their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were greater than or equal to
their corresponding elements in right.
Returns a boolean indicating whether all of the elements in left are greater than or equal to
their corresponding elements in right.
Returns a boolean indicating whether any element in left is greater than or equal to its corresponding element in right.
Returns a new vector whose elements signal whether the elements in left were less than their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were less than their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were less than their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were less than their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were less than their
corresponding elements in right.
Returns a boolean indicating whether all of the elements in left are less than their corresponding elements in right.
Returns a boolean indicating whether any element in left is less than its corresponding element in right.
Returns a new vector whose elements signal whether the elements in left were less than or equal to their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were less than or equal to their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were less than or equal to their
corresponding elements in right.
Returns a new vector whose elements signal whether the elements in left were less than or equal to their
corresponding elements in right.
Returns an integral vector whose elements signal whether the elements in left were less than or equal to their
corresponding elements in right.
Returns a boolean indicating whether all elements in left are less than or equal to their corresponding elements in right.
Returns a boolean indicating whether any element in left is less than or equal to its corresponding element in right.
Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors.
Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors.
Creates a new vector whose values are the product of each pair of elements from the two given vectors.
Returns a new vector whose values are the values of the given vector each multiplied by a scalar value.
Returns a new vector whose values are the values of the given vector each multiplied by a scalar value.
Returns a new vector whose elements are the given vector's elements negated.
Returns a new vector whose elements are obtained by taking the one's complement of the given vector's elements.
Returns a new vector whose elements are the square roots of the given vector's elements.
Creates a new vector whose values are the difference between each pairs of elements in the given vectors.
Returns a new vector by performing a bitwise-exclusive-or operation on each of the elements in the given vectors.