Vector.LessThanOrEqualAny<T>(Vector<T>, Vector<T>) Método
Definição
Retorna um valor que indica se qualquer elemento no primeiro vetor é menor ou igual ao elemento correspondente no segundo vetor.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:
generic <typename T>
where T : value class static bool LessThanOrEqualAny(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static bool LessThanOrEqualAny<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
static member LessThanOrEqualAny : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> bool (requires 'T : struct)
Public Shared Function LessThanOrEqualAny(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Boolean
Parâmetros de tipo
- T
O tipo de vetor.The vector type. T pode ser qualquer tipo numérico primitivo.T can be any primitive numeric type.
Parâmetros
- left
- Vector<T>
O primeiro vetor a ser comparado.The first vector to compare.
- right
- Vector<T>
O segundo vetor a ser comparado.The second vector to compare.
Retornos
true se qualquer elemento em left for menor ou igual ao elemento correspondente em right; caso contrário, false.true if any element in left is less than or equal to the corresponding element in right; otherwise, false.