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

Definizione

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

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static bool IsIntegerAny(ReadOnlySpan<T> x);
public static bool IsIntegerAny<T>(ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member IsIntegerAny : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> bool (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function IsIntegerAny(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 è un numero intero; in x caso contrario, false. Se x è vuoto, false viene restituito .

Si applica a