TensorPrimitives.IsOddIntegerAny<T>(ReadOnlySpan<T>) Método

Definição

Calcula se algum dos valores no tensor especificado é um número inteiro ímpar.

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static bool IsOddIntegerAny(ReadOnlySpan<T> x);
public static bool IsOddIntegerAny<T>(ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member IsOddIntegerAny : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> bool (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function IsOddIntegerAny(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T)) As Boolean

Parâmetros de Tipo Genérico

T

Parâmetros

x
ReadOnlySpan<T>

O tensor, representado como um vão.

Devoluções

true se algum dos valores em x for um número inteiro ímpar; caso contrário, false. Se x for vazio, false é devolvido.

Aplica-se a