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

Definizione

Calcola se tutti i valori nel tensore specificato sono numeri integrali dispari.

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static bool IsOddIntegerAll(ReadOnlySpan<T> x);
public static bool IsOddIntegerAll<T>(ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member IsOddIntegerAll : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> bool (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function IsOddIntegerAll(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 tutti i valori in x sono numeri integrali dispari; in caso contrario, false. Se x è vuoto, false viene restituito .

Si applica a