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

Definizione

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

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

Si applica a