Langue

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

Définition

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

x
ReadOnlySpan<T>

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é.

S’applique à