Vector Clase
Definición
Proporciona una colección de métodos estáticos para crear, manipular, combinar y convertir vectores genéricos.Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors.
public ref class Vector abstract sealed
public static class Vector
type Vector = class
Public Class Vector
- Herencia
-
Vector
Propiedades
| IsHardwareAccelerated |
Obtiene un valor que indica si las operaciones de vector están sujetas a la aceleración de hardware mediante la compatibilidad intrínseca de JIT.Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. |
Métodos
| Abs<T>(Vector<T>) |
Devuelve un nuevo vector cuyos elementos son los valores absolutos de los elementos del vector especificado.Returns a new vector whose elements are the absolute values of the given vector's elements. |
| Add<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector cuyos valores son la suma de cada par de elementos de dos vectores especificados.Returns a new vector whose values are the sum of each pair of elements from two given vectors. |
| AndNot<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector realizando una operación bit a bit AND NOT en cada par de elementos correspondientes de dos vectores.Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. |
| AsVectorByte<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de bytes sin signo.Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. |
| AsVectorDouble<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de punto flotante de doble precisión.Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. |
| AsVectorInt16<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de enteros de 16 bits.Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. |
| AsVectorInt32<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de enteros.Reinterprets the bits of a specified vector into those of a vector of integers. |
| AsVectorInt64<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de enteros largos.Reinterprets the bits of a specified vector into those of a vector of long integers. |
| AsVectorSByte<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de bytes con signo.Reinterprets the bits of a specified vector into those of a vector of signed bytes. |
| AsVectorSingle<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de punto flotante de precisión sencilla.Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. |
| AsVectorUInt16<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de enteros de 16 bits sin signo.Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. |
| AsVectorUInt32<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de enteros sin signo.Reinterprets the bits of a specified vector into those of a vector of unsigned integers. |
| AsVectorUInt64<T>(Vector<T>) |
Reinterpreta los bits de un vector especificado en los de un vector de enteros largos sin signo.Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. |
| BitwiseAnd<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector realizando una operación |
| BitwiseOr<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector realizando una operación |
| Ceiling(Vector<Double>) |
Devuelve un nuevo vector cuyos elementos son los valores enteros más pequeños que son mayores o iguales que los elementos del vector especificado.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>) |
Devuelve un nuevo vector cuyos elementos son los valores enteros más pequeños que son mayores o iguales que los elementos del vector especificado.Returns a new vector whose elements are the smallest integral values that are greater than or equal to the given vector's elements. |
| ConditionalSelect(Vector<Int32>, Vector<Single>, Vector<Single>) |
Crea un nuevo vector de precisión sencilla con elementos seleccionados entre dos vectores de origen de precisión sencilla especificados según un vector de máscara entero.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>) |
Crea un nuevo vector de doble precisión con elementos seleccionados entre dos vectores de origen de doble precisión especificados según un vector de máscara entero.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>) |
Crea un nuevo vector de un tipo especificado con elementos seleccionados entre dos vectores de origen especificados del mismo tipo según un vector de máscara entero.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>) |
Convierte una instancia de |
| ConvertToDouble(Vector<UInt64>) |
Convierte una instancia de |
| ConvertToInt32(Vector<Single>) |
Convierte una instancia de |
| ConvertToInt64(Vector<Double>) |
Convierte una instancia de |
| ConvertToSingle(Vector<Int32>) |
Convierte una instancia de |
| ConvertToSingle(Vector<UInt32>) |
Convierte una instancia de |
| ConvertToUInt32(Vector<Single>) |
Convierte una instancia de |
| ConvertToUInt64(Vector<Double>) |
Convierte una instancia de |
| Divide<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector cuyos valores son el resultado de dividir los elementos del primer vector por los elementos correspondientes del segundo 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. |
| Dot<T>(Vector<T>, Vector<T>) |
Devuelve el producto escalar de dos vectores.Returns the dot product of two vectors. |
| Equals(Vector<Double>, Vector<Double>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de los dos vectores de doble precisión especificados son iguales.Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. |
| Equals(Vector<Int32>, Vector<Int32>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de los dos vectores enteros especificados son iguales.Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. |
| Equals(Vector<Int64>, Vector<Int64>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de los dos vectores enteros largos especificados son iguales.Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. |
| Equals(Vector<Single>, Vector<Single>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de los dos vectores de precisión sencilla especificados son iguales.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>) |
Devuelve un nuevo vector de un tipo especificado cuyos elementos indican si los elementos de los dos vectores especificados del mismo tipo son iguales.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>) |
Devuelve un valor que indica si cada par de elementos de los vectores especificados es igual.Returns a value that indicates whether each pair of elements in the given vectors is equal. |
| EqualsAny<T>(Vector<T>, Vector<T>) |
Devuelve un valor que indica si cada par de elementos individual de los vectores especificados es igual.Returns a value that indicates whether any single pair of elements in the given vectors is equal. |
| Floor(Vector<Double>) |
Devuelve un nuevo vector cuyos elementos son los valores integrales más grandes que son menores o iguales que los elementos del vector especificado.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>) |
Devuelve un nuevo vector cuyos elementos son los valores integrales más grandes que son menores o iguales que los elementos del vector especificado.Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements. |
| GreaterThan(Vector<Double>, Vector<Double>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector de punto flotante de doble precisión son mayores que sus elementos correspondientes de un segundo vector de punto flotante de doble precisión.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector entero son mayores que sus elementos correspondientes de un segundo vector entero.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>) |
Devuelve un nuevo vector entero largo cuyos elementos indican si los elementos de un vector entero largo son mayores que sus elementos correspondientes de un segundo vector entero largo.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector de punto flotante de precisión sencilla son mayores que sus elementos correspondientes de un segundo vector de punto flotante de precisión sencilla.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>) |
Devuelve un nuevo vector cuyos elementos indican si los elementos de un vector de un tipo especificado son mayores que sus elementos correspondientes del segundo vector del mismo tipo.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>) |
Devuelve un valor que indica si todos los elementos del primer vector son mayores que los elementos correspondientes del segundo vector.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>) |
Devuelve un valor que indica si algún elemento del primer vector es mayor que el elemento correspondiente del segundo vector.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector son mayores o iguales que sus elementos correspondientes del segundo vector de punto flotante de doble precisión.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector entero son mayores o iguales que sus elementos correspondientes del segundo vector entero.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>) |
Devuelve un nuevo nuevo vector entero largo cuyos elementos indican si los elementos de un vector entero largo son mayores o iguales que sus elementos correspondientes del segundo vector entero largo.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector son mayores o iguales que sus elementos correspondientes del segundo vector de punto flotante de precisión sencilla.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>) |
Devuelve un nuevo vector cuyos elementos indican si los elementos de un vector de un tipo especificado son mayores o iguales que sus elementos correspondientes del segundo vector del mismo tipo.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>) |
Devuelve un valor que indica si todos los elementos del primer vector son mayores o iguales que todos los elementos correspondientes del segundo vector.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>) |
Devuelve un valor que indica si algún elemento del primer vector es mayor o igual que el elemento correspondiente del segundo vector.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. |
| LessThan(Vector<Double>, Vector<Double>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector de punto flotante de doble precisión son menores que sus elementos correspondientes de un segundo vector de punto flotante de doble precisión.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector entero son menores que sus elementos correspondientes de un segundo vector entero.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>) |
Devuelve un nuevo vector entero largo cuyos elementos indican si los elementos de un vector entero largo son menores que sus elementos correspondientes de un segundo vector entero largo.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector de precisión sencilla son menores que sus elementos correspondientes de un segundo vector de precisión sencilla.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>) |
Devuelve un nuevo vector de un tipo especificado cuyos elementos indican si los elementos de un vector son menores que sus elementos correspondientes del segundo vector.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>) |
Devuelve un valor que indica si todos los elementos del primer vector son menores que los elementos correspondientes del segundo vector.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>) |
Devuelve un valor que indica si algún elemento elemento del primer vector es menor que el elemento correspondiente del segundo vector.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector de punto flotante de doble precisión son menores o iguales que sus elementos correspondientes de un segundo vector de punto flotante de doble precisión.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector entero son menores o iguales que sus elementos correspondientes de un segundo vector entero.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>) |
Devuelve un nuevo vector entero largo cuyos elementos indican si los elementos de un vector entero largo son menores o iguales que sus elementos correspondientes de un segundo vector entero largo.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>) |
Devuelve un nuevo vector entero cuyos elementos indican si los elementos de un vector de punto flotante de precisión sencilla son menores o iguales que sus elementos correspondientes de un segundo vector de punto flotante de precisión sencilla.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>) |
Devuelve un nuevo vector cuyos elementos indican si los elementos de un vector son menores o iguales que sus elementos correspondientes del segundo vector.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>) |
Devuelve un valor que indica si todos los elementos del primer vector son menores o iguales que los elementos correspondientes del segundo vector.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>) |
Devuelve un valor que indica si algún elemento del primer vector es menor o igual que el elemento correspondiente del segundo vector.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. |
| Max<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector cuyos elementos son el máximo de cada par de elementos de dos vectores dados.Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. |
| Min<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector cuyos elementos son el mínimo de cada par de elementos de dos vectores dados.Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. |
| Multiply<T>(T, Vector<T>) |
Devuelve un nuevo vector cuyos valores son un valor escalar multiplicado por cada uno de los valores de un vector especificado.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) |
Devuelve un nuevo vector cuyos valores son los valores de un vector especificado, multiplicado cada uno por un valor escalar.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>) |
Devuelve un nuevo vector cuyos valores son el producto de cada par de elementos de dos vectores especificados.Returns a new vector whose values are the product of each pair of elements in two specified vectors. |
| Narrow(Vector<Double>, Vector<Double>) |
Reduce dos instancias de |
| Narrow(Vector<Int16>, Vector<Int16>) |
Reduce dos instancias de |
| Narrow(Vector<Int32>, Vector<Int32>) |
Reduce dos instancias de |
| Narrow(Vector<Int64>, Vector<Int64>) |
Reduce dos instancias de |
| Narrow(Vector<UInt16>, Vector<UInt16>) |
Reduce dos instancias de |
| Narrow(Vector<UInt32>, Vector<UInt32>) |
Reduce dos instancias de |
| Narrow(Vector<UInt64>, Vector<UInt64>) |
Reduce dos instancias de |
| Negate<T>(Vector<T>) |
Devuelve un nuevo vector cuyos elementos son la negación del elemento correspondiente del vector especificado.Returns a new vector whose elements are the negation of the corresponding element in the specified vector. |
| OnesComplement<T>(Vector<T>) |
Devuelve un nuevo vector cuyos elementos se obtienen tomando el complemento de uno de los elementos de un vector especificado.Returns a new vector whose elements are obtained by taking the one's complement of a specified vector's elements. |
| SquareRoot<T>(Vector<T>) |
Devuelve un nuevo vector cuyos elementos son la raíz cuadrada de los elementos de un vector especificado.Returns a new vector whose elements are the square roots of a specified vector's elements. |
| Subtract<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector cuyos valores son la diferencia entre los elementos del segundo vector y los elementos correspondientes del primer vector.Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. |
| Widen(Vector<Byte>, Vector<UInt16>, Vector<UInt16>) |
Amplía una instancia de |
| Widen(Vector<Int16>, Vector<Int32>, Vector<Int32>) |
Amplía una instancia de |
| Widen(Vector<Int32>, Vector<Int64>, Vector<Int64>) |
Amplía una instancia de |
| Widen(Vector<SByte>, Vector<Int16>, Vector<Int16>) |
Amplía una instancia de |
| Widen(Vector<Single>, Vector<Double>, Vector<Double>) |
Amplía una instancia de |
| Widen(Vector<UInt16>, Vector<UInt32>, Vector<UInt32>) |
Amplía una instancia de |
| Widen(Vector<UInt32>, Vector<UInt64>, Vector<UInt64>) |
Amplía una instancia de |
| Xor<T>(Vector<T>, Vector<T>) |
Devuelve un nuevo vector realizando una operación O exclusiva ( |