This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a collection of static methods for creating, manipulating, and otherwise operating on generic vectors.
public ref class Vector abstract sealedpublic static class Vectortype Vector = classPublic Class VectorPublic Module Vector| Name | Description |
|---|---|
| IsHardwareAccelerated | Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. |
| Name | Description |
|---|---|
| Abs<T>(Vector<T>) | Returns a new vector whose elements are the absolute values of the given vector's elements. |
| Add<T>(Vector<T>, Vector<T>) | Returns a new vector whose values are the sum of each pair of elements from two given vectors. |
| AddSaturate<T>(Vector<T>, Vector<T>) | Adds two vectors to compute their element-wise saturated sum. |
| All<T>(Vector<T>, T) | Determines if all elements of a vector are equal to a given value. |
| AllWhereAllBitsSet<T>(Vector<T>) | Determines if all elements of a vector have all their bits set. |
| AndNot<T>(Vector<T>, Vector<T>) | Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. |
| Any<T>(Vector<T>, T) | Determines if any elements of a vector are equal to a given value. |
| AnyWhereAllBitsSet<T>(Vector<T>) | Determines if any elements of a vector have all their bits set. |
| As<TFrom,TTo>(Vector<TFrom>) | |
| AsPlane(Vector4) | |
| AsQuaternion(Vector4) | Reinterprets aVector4 as a newQuaternion. |
| AsVector2(Vector3) | |
| AsVector2(Vector4) | |
| AsVector3(Vector2) | Reinterprets aVector2 to a newVector3 with the new elements zeroed. |
| AsVector3(Vector4) | |
| AsVector3Unsafe(Vector2) | Reinterprets aVector2 to a newVector3 with the new elements undefined. |
| AsVector4(Plane) | |
| AsVector4(Quaternion) | Reinterprets aQuaternion as a newVector4. |
| AsVector4(Vector2) | Reinterprets aVector2 to a newVector4 with the new elements zeroed. |
| AsVector4(Vector3) | Converts aVector3 to a newVector4 with the new elements zeroed. |
| AsVector4Unsafe(Vector2) | Reinterprets aVector2 to a newVector4 with the new elements undefined. |
| AsVector4Unsafe(Vector3) | Converts aVector3 to a newVector4 with the new elements undefined. |
| AsVectorByte<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. |
| AsVectorDouble<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. |
| AsVectorInt16<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. |
| AsVectorInt32<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of integers. |
| AsVectorInt64<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of long integers. |
| AsVectorNInt<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of native-sized integers. |
| AsVectorNUInt<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of native-sized, unsigned integers. |
| AsVectorSByte<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of signed bytes. |
| AsVectorSingle<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. |
| AsVectorUInt16<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. |
| AsVectorUInt32<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of unsigned integers. |
| AsVectorUInt64<T>(Vector<T>) | Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. |
| BitwiseAnd<T>(Vector<T>, Vector<T>) | Returns a new vector by performing a bitwise |
| BitwiseOr<T>(Vector<T>, Vector<T>) | Returns a new vector by performing a bitwise |
| Ceiling(Vector<Double>) | Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements. |
| Ceiling(Vector<Single>) | Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements. |
| Clamp<T>(Vector<T>, Vector<T>, Vector<T>) | Restricts a vector between a minimum and a maximum value. |
| ClampNative<T>(Vector<T>, Vector<T>, Vector<T>) | Restricts a vector between a minimum and a maximum value using platform specific behavior for |
| ConditionalSelect(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. |
| ConditionalSelect(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. |
| ConditionalSelect<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. |
| ConvertToDouble(Vector<Int64>) | Converts a |
| ConvertToDouble(Vector<UInt64>) | Converts a |
| ConvertToInt32(Vector<Single>) | Converts a |
| ConvertToInt32Native(Vector<Single>) | Converts aVector<T> to aVector<T> using platform specific behavior on overflow. |
| ConvertToInt64(Vector<Double>) | Converts a |
| ConvertToInt64Native(Vector<Double>) | Converts a |
| ConvertToSingle(Vector<Int32>) | Converts a |
| ConvertToSingle(Vector<UInt32>) | Converts a |
| ConvertToUInt32(Vector<Single>) | Converts a |
| ConvertToUInt32Native(Vector<Single>) | Converts a |
| ConvertToUInt64(Vector<Double>) | Converts a |
| ConvertToUInt64Native(Vector<Double>) | Converts a |
| CopySign<T>(Vector<T>, Vector<T>) | Copies the per-element sign of a vector to the per-element sign of another vector. |
| Cos(Vector<Double>) | Computes the cosine of each element in a vector. |
| Cos(Vector<Single>) | Computes the cosine of each element in a vector. |
| Count<T>(Vector<T>, T) | Determines the number of elements in a vector that are equal to a given value. |
| CountWhereAllBitsSet<T>(Vector<T>) | Determines the number of elements in a vector that have all their bits set. |
| Create<T>(ReadOnlySpan<T>) | Creates a newVector<T> from a given readonly span. |
| Create<T>(T) | Creates a newVector<T> instance with all elements initialized to the specified value. |
| CreateScalar<T>(T) | Creates a newVector<T> instance with the first element initialized to the specified value and the remaining elements initialized to zero. |
| CreateScalarUnsafe<T>(T) | Creates a newVector<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized. |
| CreateSequence<T>(T, T) | Creates a newVector<T> instance where the elements begin at a specified value and which are spaced apart according to another specified value. |
| DegreesToRadians(Vector<Double>) | Converts a given vector from degrees to radians. |
| DegreesToRadians(Vector<Single>) | Converts a given vector from degrees to radians. |
| Divide<T>(Vector<T>, T) | Divides a vector by a scalar to compute the per-element quotient. |
| Divide<T>(Vector<T>, Vector<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. |
| Dot<T>(Vector<T>, Vector<T>) | Returns the dot product of two vectors. |
| Equals(Vector<Double>, Vector<Double>) | Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. |
| Equals(Vector<Int32>, Vector<Int32>) | Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. |
| Equals(Vector<Int64>, Vector<Int64>) | Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. |
| Equals(Vector<Single>, Vector<Single>) | Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. |
| Equals<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. |
| EqualsAll<T>(Vector<T>, Vector<T>) | Returns a value that indicates whether each pair of elements in the given vectors is equal. |
| EqualsAny<T>(Vector<T>, Vector<T>) | Returns a value that indicates whether any single pair of elements in the given vectors is equal. |
| Exp(Vector<Double>) | Computes the exponential of each element in a vector. |
| Exp(Vector<Single>) | Computes the exponential of each element in a vector. |
| ExtractMostSignificantBits(Vector2) | Extracts the most significant bit from each element in a vector. |
| ExtractMostSignificantBits(Vector3) | Extracts the most significant bit from each element in a vector. |
| ExtractMostSignificantBits(Vector4) | Extracts the most significant bit from each element in a vector. |
| Floor(Vector<Double>) | Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements. |
| Floor(Vector<Single>) | Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements. |
| FusedMultiplyAdd(Vector<Double>, Vector<Double>, Vector<Double>) | Computes ( |
| FusedMultiplyAdd(Vector<Single>, Vector<Single>, Vector<Single>) | Computes ( |
| GetElement(Vector2, Int32) | Gets the element at the specified index. |
| GetElement(Vector3, Int32) | Gets the element at the specified index. |
| GetElement(Vector4, Int32) | Gets the element at the specified index. |
| GetElement<T>(Vector<T>, Int32) | Gets the element at the specified index. |
| GreaterThan(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. |
| GreaterThan(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. |
| GreaterThan(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. |
| GreaterThan(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. |
| GreaterThan<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. |
| GreaterThanAll<T>(Vector<T>, Vector<T>) | Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. |
| GreaterThanAny<T>(Vector<T>, Vector<T>) | Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. |
| GreaterThanOrEqual(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. |
| GreaterThanOrEqual(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. |
| GreaterThanOrEqual(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. |
| GreaterThanOrEqual(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. |
| GreaterThanOrEqual<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. |
| GreaterThanOrEqualAll<T>(Vector<T>, Vector<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. |
| GreaterThanOrEqualAny<T>(Vector<T>, Vector<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. |
| Hypot(Vector<Double>, Vector<Double>) | Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle. |
| Hypot(Vector<Single>, Vector<Single>) | Computes the hypotenuse given two vectors representing the lengths of the shorter sides in a right-angled triangle. |
| IndexOf<T>(Vector<T>, T) | Determines the index of the first element in a vector that is equal to a given value. |
| IndexOfWhereAllBitsSet<T>(Vector<T>) | Determines the index of the first element in a vector that has all bits set. |
| IsEvenInteger<T>(Vector<T>) | Determines which elements in a vector are even integral values. |
| IsFinite<T>(Vector<T>) | Determines which elements in a vector are finite. |
| IsInfinity<T>(Vector<T>) | Determines which elements in a vector are infinity. |
| IsInteger<T>(Vector<T>) | Determines which elements in a vector are integral values. |
| IsNaN<T>(Vector<T>) | Determines which elements in a vector are NaN. |
| IsNegative<T>(Vector<T>) | Determines which elements in a vector represents negative real numbers. |
| IsNegativeInfinity<T>(Vector<T>) | Determines which elements in a vector are negative infinity. |
| IsNormal<T>(Vector<T>) | Determines which elements in a vector are normal. |
| IsOddInteger<T>(Vector<T>) | Determines which elements in a vector are odd integral values. |
| IsPositive<T>(Vector<T>) | Determines which elements in a vector represents positive real numbers. |
| IsPositiveInfinity<T>(Vector<T>) | Determines which elements in a vector are positive infinity. |
| IsSubnormal<T>(Vector<T>) | Determines which elements in a vector are subnormal. |
| IsZero<T>(Vector<T>) | Determines which elements in a vector are zero. |
| LastIndexOf<T>(Vector<T>, T) | Determines the index of the last element in a vector that is equal to a given value. |
| LastIndexOfWhereAllBitsSet<T>(Vector<T>) | Determines the index of the last element in a vector that has all bits set. |
| Lerp(Vector<Double>, Vector<Double>, Vector<Double>) | Performs a linear interpolation between two vectors based on the given weighting. |
| Lerp(Vector<Single>, Vector<Single>, Vector<Single>) | Performs a linear interpolation between two vectors based on the given weighting. |
| LessThan(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. |
| LessThan(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. |
| LessThan(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. |
| LessThan(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. |
| LessThan<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. |
| LessThanAll<T>(Vector<T>, Vector<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. |
| LessThanAny<T>(Vector<T>, Vector<T>) | Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. |
| LessThanOrEqual(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. |
| LessThanOrEqual(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. |
| LessThanOrEqual(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. |
| LessThanOrEqual(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. |
| LessThanOrEqual<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. |
| LessThanOrEqualAll<T>(Vector<T>, Vector<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. |
| LessThanOrEqualAny<T>(Vector<T>, Vector<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. |
| Load<T>(T*) | Loads a vector from the given source. |
| LoadAligned<T>(T*) | Loads a vector from the given aligned source. |
| LoadAlignedNonTemporal<T>(T*) | Loads a vector from the given aligned source. |
| LoadUnsafe<T>(T, UIntPtr) | Loads a vector from the given source and element offset. |
| LoadUnsafe<T>(T) | Loads a vector from the given source. |
| Log(Vector<Double>) | Computes the log of each element in a vector. |
| Log(Vector<Single>) | Computes the log of each element in a vector. |
| Log2(Vector<Double>) | Computes the log2 of each element in a vector. |
| Log2(Vector<Single>) | Computes the log2 of each element in a vector. |
| Max<T>(Vector<T>, Vector<T>) | Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. |
| MaxMagnitude<T>(Vector<T>, Vector<T>) | Compares two vectors to compute which has the greater magnitude on a per-element basis. |
| MaxMagnitudeNumber<T>(Vector<T>, Vector<T>) | Compares two vectors, on a per-element basis, to compute which has the greater magnitude and returning the other value if an input is |
| MaxNative<T>(Vector<T>, Vector<T>) | Compare two vectors to determine which is greater on a per-element basis using platform specific behavior for |
| MaxNumber<T>(Vector<T>, Vector<T>) | Compares two vectors, on a per-element basis, to compute which is greater and returning the other value if an element is |
| Min<T>(Vector<T>, Vector<T>) | Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. |
| MinMagnitude<T>(Vector<T>, Vector<T>) | Compares two vectors to compute which has the lesser magnitude on a per-element basis. |
| MinMagnitudeNumber<T>(Vector<T>, Vector<T>) | Compares two vectors, on a per-element basis, to compute which has the lesser magnitude and returning the other value if an input is |
| MinNative<T>(Vector<T>, Vector<T>) | Compare two vectors to determine which is lesser on a per-element basis using platform specific behavior for |
| MinNumber<T>(Vector<T>, Vector<T>) | Compares two vectors, on a per-element basis, to compute which is lesser and returning the other value if an element is |
| Multiply<T>(T, Vector<T>) | Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. |
| Multiply<T>(Vector<T>, T) | Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. |
| Multiply<T>(Vector<T>, Vector<T>) | Returns a new vector whose values are the product of each pair of elements in two specified vectors. |
| MultiplyAddEstimate(Vector<Double>, Vector<Double>, Vector<Double>) | Computes an estimate of ( |
| MultiplyAddEstimate(Vector<Single>, Vector<Single>, Vector<Single>) | Computes an estimate of ( |
| Narrow(Vector<Double>, Vector<Double>) | Narrows two |
| Narrow(Vector<Int16>, Vector<Int16>) | Narrows two |
| Narrow(Vector<Int32>, Vector<Int32>) | Narrows two |
| Narrow(Vector<Int64>, Vector<Int64>) | Narrows two |
| Narrow(Vector<UInt16>, Vector<UInt16>) | Narrows two |
| Narrow(Vector<UInt32>, Vector<UInt32>) | Narrows two |
| Narrow(Vector<UInt64>, Vector<UInt64>) | Narrows two |
| NarrowWithSaturation(Vector<Double>, Vector<Double>) | Narrows two vector ofDouble instances into one vector ofSingle using a saturating conversion. |
| NarrowWithSaturation(Vector<Int16>, Vector<Int16>) | Narrows two vector ofInt16 instances into one vector ofSByte using a saturating conversion. |
| NarrowWithSaturation(Vector<Int32>, Vector<Int32>) | Narrows two vector ofInt32 instances into one vector ofInt16 using a saturating conversion. |
| NarrowWithSaturation(Vector<Int64>, Vector<Int64>) | Narrows two vector ofInt64 instances into one vector ofInt32 using a saturating conversion. |
| NarrowWithSaturation(Vector<UInt16>, Vector<UInt16>) | Narrows two vector ofUInt16 instances into one vector ofByte using a saturating conversion. |
| NarrowWithSaturation(Vector<UInt32>, Vector<UInt32>) | Narrows two vector ofUInt32 instances into one vector ofUInt16 using a saturating conversion. |
| NarrowWithSaturation(Vector<UInt64>, Vector<UInt64>) | Narrows two vector ofUInt64 instances into one vector ofUInt32 using a saturating conversion. |
| Negate<T>(Vector<T>) | Returns a new vector whose elements are the negation of the corresponding element in the specified vector. |
| None<T>(Vector<T>, T) | Determines if no elements of a vector are equal to a given value. |
| NoneWhereAllBitsSet<T>(Vector<T>) | Determines if no elements of a vector have all their bits set. |
| OnesComplement<T>(Vector<T>) | Returns a new vector whose elements are obtained by taking the one's complement of a specified vector's elements. |
| RadiansToDegrees(Vector<Double>) | Converts a given vector from radians to degrees. |
| RadiansToDegrees(Vector<Single>) | Converts a given vector from radians to degrees. |
| Round(Vector<Double>, MidpointRounding) | Rounds each element in a vector to the nearest integer using the specified rounding mode. |
| Round(Vector<Double>) | Rounds each element in a vector to the nearest integer using the default rounding mode (ToEven). |
| Round(Vector<Single>, MidpointRounding) | Rounds each element in a vector to the nearest integer using the specified rounding mode. |
| Round(Vector<Single>) | Rounds each element in a vector to the nearest integer using the default rounding mode (ToEven). |
| ShiftLeft(Vector<Byte>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<Int16>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<Int32>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<Int64>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<IntPtr>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<SByte>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<UInt16>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<UInt32>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<UInt64>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftLeft(Vector<UIntPtr>, Int32) | Shifts each element of a vector left by the specified amount. |
| ShiftRightArithmetic(Vector<Int16>, Int32) | Shifts (signed) each element of a vector right by the specified amount. |
| ShiftRightArithmetic(Vector<Int32>, Int32) | Shifts (signed) each element of a vector right by the specified amount. |
| ShiftRightArithmetic(Vector<Int64>, Int32) | Shifts (signed) each element of a vector right by the specified amount. |
| ShiftRightArithmetic(Vector<IntPtr>, Int32) | Shifts (signed) each element of a vector right by the specified amount. |
| ShiftRightArithmetic(Vector<SByte>, Int32) | Shifts (signed) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<Byte>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<Int16>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<Int32>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<Int64>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<IntPtr>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<SByte>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<UInt16>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<UInt32>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<UInt64>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| ShiftRightLogical(Vector<UIntPtr>, Int32) | Shifts (unsigned) each element of a vector right by the specified amount. |
| Sin(Vector<Double>) | Computes the sine of each element in a vector. |
| Sin(Vector<Single>) | Computes the sine of each element in a vector. |
| SinCos(Vector<Double>) | Computes the sine and cosine of each element in a vector. |
| SinCos(Vector<Single>) | Computes the sine and cosine of each element in a vector. |
| SquareRoot<T>(Vector<T>) | Returns a new vector whose elements are the square roots of a specified vector's elements. |
| Store(Vector2, Single*) | Stores a vector at the given destination. |
| Store(Vector3, Single*) | Stores a vector at the given destination. |
| Store(Vector4, Single*) | Stores a vector at the given destination. |
| Store<T>(Vector<T>, T*) | Stores a vector at the given destination. |
| StoreAligned(Vector2, Single*) | Stores a vector at the given 8-byte aligned destination. |
| StoreAligned(Vector3, Single*) | Stores a vector at the given 8-byte aligned destination. |
| StoreAligned(Vector4, Single*) | Stores a vector at the given 16-byte aligned destination. |
| StoreAligned<T>(Vector<T>, T*) | Stores a vector at the given aligned destination. |
| StoreAlignedNonTemporal(Vector2, Single*) | Stores a vector at the given 8-byte aligned destination. |
| StoreAlignedNonTemporal(Vector3, Single*) | Stores a vector at the given 8-byte aligned destination. |
| StoreAlignedNonTemporal(Vector4, Single*) | Stores a vector at the given 16-byte aligned destination. |
| StoreAlignedNonTemporal<T>(Vector<T>, T*) | Stores a vector at the given aligned destination. |
| StoreUnsafe(Vector2, Single, UIntPtr) | Stores a vector at the given destination. |
| StoreUnsafe(Vector2, Single) | Stores a vector at the given destination. |
| StoreUnsafe(Vector3, Single, UIntPtr) | Stores a vector at the given destination. |
| StoreUnsafe(Vector3, Single) | Stores a vector at the given destination. |
| StoreUnsafe(Vector4, Single, UIntPtr) | Stores a vector at the given destination. |
| StoreUnsafe(Vector4, Single) | Stores a vector at the given destination. |
| StoreUnsafe<T>(Vector<T>, T, UIntPtr) | Stores a vector at the given destination. |
| StoreUnsafe<T>(Vector<T>, T) | Stores a vector at the given destination. |
| Subtract<T>(Vector<T>, Vector<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. |
| SubtractSaturate<T>(Vector<T>, Vector<T>) | Subtracts two vectors to compute their element-wise saturated difference. |
| Sum<T>(Vector<T>) | Returns the sum of all the elements inside the specified vector. |
| ToScalar(Vector2) | Converts the given vector to a scalar containing the value of the first element. |
| ToScalar(Vector3) | Converts the given vector to a scalar containing the value of the first element. |
| ToScalar(Vector4) | Converts the given vector to a scalar containing the value of the first element. |
| ToScalar<T>(Vector<T>) | Converts the given vector to a scalar containing the value of the first element. |
| Truncate(Vector<Double>) | Truncates each element in a vector. |
| Truncate(Vector<Single>) | Truncates each element in a vector. |
| Widen(Vector<Byte>, Vector<UInt16>, Vector<UInt16>) | Widens a |
| Widen(Vector<Int16>, Vector<Int32>, Vector<Int32>) | Widens a |
| Widen(Vector<Int32>, Vector<Int64>, Vector<Int64>) | Widens a |
| Widen(Vector<SByte>, Vector<Int16>, Vector<Int16>) | Widens a |
| Widen(Vector<Single>, Vector<Double>, Vector<Double>) | Widens a |
| Widen(Vector<UInt16>, Vector<UInt32>, Vector<UInt32>) | Widens a |
| Widen(Vector<UInt32>, Vector<UInt64>, Vector<UInt64>) | Widens a |
| WidenLower(Vector<Byte>) | |
| WidenLower(Vector<Int16>) | |
| WidenLower(Vector<Int32>) | |
| WidenLower(Vector<SByte>) | |
| WidenLower(Vector<Single>) | |
| WidenLower(Vector<UInt16>) | |
| WidenLower(Vector<UInt32>) | |
| WidenUpper(Vector<Byte>) | |
| WidenUpper(Vector<Int16>) | |
| WidenUpper(Vector<Int32>) | |
| WidenUpper(Vector<SByte>) | |
| WidenUpper(Vector<Single>) | |
| WidenUpper(Vector<UInt16>) | |
| WidenUpper(Vector<UInt32>) | |
| WithElement(Vector2, Int32, Single) | Creates a newVector128<T> with the element at the specified index set to the specified value and the remaining elements set to the same value as that in the given vector. |
| WithElement(Vector3, Int32, Single) | Creates a newVector128<T> with the element at the specified index set to the specified value and the remaining elements set to the same value as that in the given vector. |
| WithElement(Vector4, Int32, Single) | Creates a newVector128<T> with the element at the specified index set to the specified value and the remaining elements set to the same value as that in the given vector. |
| WithElement<T>(Vector<T>, Int32, T) | Creates a newVector<T> with the element at the specified index set to the specified value and the remaining elements set to the same value as that in the given vector. |
| Xor<T>(Vector<T>, Vector<T>) | Returns a new vector by performing a bitwise exclusive Or ( |
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?