Vector Class

Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors.

System.Object
  System.Numerics.Vector

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public static class Vector

The Vector type exposes the following members.

  NameDescription
Public propertyStatic memberIsHardwareAcceleratedGets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support.
Top

  NameDescription
Public methodStatic memberAbs<T>Returns a new vector whose elements are the absolute values of the given vector's elements.
Public methodStatic memberAdd<T>Returns a new vector whose values are the sum of each pair of elements from two given vectors.
Public methodStatic memberAndNot<T>Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors.
Public methodStatic memberAsVectorByte<T>Reinterprets the bits of a specified vector into those of a vector of unsigned bytes.
Public methodStatic memberAsVectorDouble<T>Reinterprets the bits of a specified vector into those of a double-precision floating-point vector.
Public methodStatic memberAsVectorInt16<T>Reinterprets the bits of a specified vector into those of a vector of 16-bit integers.
Public methodStatic memberAsVectorInt32<T>Reinterprets the bits of a specified vector into those of a vector of integers.
Public methodStatic memberAsVectorInt64<T>Reinterprets the bits of a specified vector into those of a vector of long integers.
Public methodStatic memberAsVectorSByte<T>Reinterprets the bits of a specified vector into those of a vector of signed bytes.
Public methodStatic memberAsVectorSingle<T>Reinterprets the bits of a specified vector into those of a single-precision floating-point vector.
Public methodStatic memberAsVectorUInt16<T>Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers.
Public methodStatic memberAsVectorUInt32<T>Reinterprets the bits of a specified vector into those of a vector of unsigned integers.
Public methodStatic memberAsVectorUInt64<T>Reinterprets the bits of a specified vector into those of a vector of unsigned long integers.
Public methodStatic memberBitwiseAnd<T>Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors.
Public methodStatic memberBitwiseOr<T>Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors.
Public methodStatic memberConditionalSelect(Vector<Int32>, Vector<Single>, Vector<Single>)Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector.
Public methodStatic memberConditionalSelect(Vector<Int64>, Vector<Double>, Vector<Double>)Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector.
Public methodStatic memberConditionalSelect<T>(Vector<T>, Vector<T>, Vector<T>)Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector.
Public methodStatic memberDivide<T>Returns a new vector whose values are the result of dividing the first vector's elements by the corresponding elements in the second vector.
Public methodStatic memberDot<T>Returns the dot product of two vectors.
Public methodStatic memberEquals(Vector<Double>, Vector<Double>)Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal.
Public methodStatic memberEquals(Vector<Int32>, Vector<Int32>)Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal.
Public methodStatic memberEquals(Vector<Int64>, Vector<Int64>)Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal.
Public methodStatic memberEquals(Vector<Single>, Vector<Single>)Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal.
Public methodStatic memberEquals<T>(Vector<T>, Vector<T>)Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal.
Public methodStatic memberEqualsAll<T>Returns a value that indicates whether each pair of elements in the given vectors is equal.
Public methodStatic memberEqualsAny<T>Returns a value that indicates whether any single pair of elements in the given vectors is equal.
Public methodStatic memberGreaterThan(Vector<Double>, Vector<Double>)Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector.
Public methodStatic memberGreaterThan(Vector<Int32>, Vector<Int32>)Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector.
Public methodStatic memberGreaterThan(Vector<Int64>, Vector<Int64>)Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector.
Public methodStatic memberGreaterThan(Vector<Single>, Vector<Single>)Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector.
Public methodStatic memberGreaterThan<T>(Vector<T>, Vector<T>)Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time.
Public methodStatic memberGreaterThanAll<T>Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector.
Public methodStatic memberGreaterThanAny<T>Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector.
Public methodStatic memberGreaterThanOrEqual(Vector<Double>, Vector<Double>)Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector.
Public methodStatic memberGreaterThanOrEqual(Vector<Int32>, Vector<Int32>)Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector.
Public methodStatic memberGreaterThanOrEqual(Vector<Int64>, Vector<Int64>)Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector.
Public methodStatic memberGreaterThanOrEqual(Vector<Single>, Vector<Single>)Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector.
Public methodStatic memberGreaterThanOrEqual<T>(Vector<T>, Vector<T>)Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type.
Public methodStatic memberGreaterThanOrEqualAll<T>Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector.
Public methodStatic memberGreaterThanOrEqualAny<T>Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector.
Public methodStatic memberLessThan(Vector<Double>, Vector<Double>)Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector.
Public methodStatic memberLessThan(Vector<Int32>, Vector<Int32>)Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector.
Public methodStatic memberLessThan(Vector<Int64>, Vector<Int64>)Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector.
Public methodStatic memberLessThan(Vector<Single>, Vector<Single>)Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector.
Public methodStatic memberLessThan<T>(Vector<T>, Vector<T>)Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector.
Public methodStatic memberLessThanAll<T>Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector.
Public methodStatic memberLessThanAny<T>Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector.
Public methodStatic memberLessThanOrEqual(Vector<Double>, Vector<Double>)Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector.
Public methodStatic memberLessThanOrEqual(Vector<Int32>, Vector<Int32>)Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector.
Public methodStatic memberLessThanOrEqual(Vector<Int64>, Vector<Int64>)Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector.
Public methodStatic memberLessThanOrEqual(Vector<Single>, Vector<Single>)Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector.
Public methodStatic memberLessThanOrEqual<T>(Vector<T>, Vector<T>)Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector.
Public methodStatic memberLessThanOrEqualAll<T>Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector.
Public methodStatic memberLessThanOrEqualAny<T>Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector.
Public methodStatic memberMax<T>Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors.
Public methodStatic memberMin<T>Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors.
Public methodStatic memberMultiply<T>(T, Vector<T>)Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector.
Public methodStatic memberMultiply<T>(Vector<T>, Vector<T>)Returns a new vector whose values are the product of each pair of elements in two specified vectors.
Public methodStatic memberMultiply<T>(Vector<T>, T)Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value.
Public methodStatic memberNegate<T>Returns a new vector whose elements are the negation of the corresponding element in the specified vector.
Public methodStatic memberOnesComplement<T>Returns a new vector whose elements are obtained by taking the one's complement of a specified vector's elements.
Public methodStatic memberSquareRoot<T>Returns a new vector whose elements are the square roots of a specified vector's elements.
Public methodStatic memberSubtract<T>Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector.
Public methodStatic memberXor<T>Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: