TensorPrimitives.IsOddIntegerAny<T>(ReadOnlySpan<T>) Metodo

Definizione

Calcola se uno dei valori nel tensore specificato è un numero integrale dispari.

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

Parametri di tipo

T

Parametri

x
ReadOnlySpan<T>

Tensore, rappresentato come intervallo.

Valori restituiti

true se uno dei valori in x è un numero integrale dispari; in caso contrario, false. Se x è vuoto, false viene restituito .

Si applica a