TensorPrimitives.IsOddIntegerAny<T>(ReadOnlySpan<T>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Calcule si l’une des valeurs du tensoriel spécifié est un nombre intégral impair.
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
Paramètres de type
- T
Paramètres
Le capteur, représenté sous la forme d’une étendue.
Retours
true si l’une des valeurs dans x est un nombre intégral impair ; sinon, false.
S’il x est vide, false est retourné.