TensorPrimitives.IsInfinityAny<T>(ReadOnlySpan<T>) Método

Definição

Calcula se algum dos valores no tensor especificado é infinito.

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static bool IsInfinityAny(ReadOnlySpan<T> x);
public static bool IsInfinityAny<T>(ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member IsInfinityAny : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> bool (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function IsInfinityAny(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T)) As Boolean

Parâmetros de Tipo Genérico

T

Parâmetros

x
ReadOnlySpan<T>

O tensor, representado como um vão.

Devoluções

true se algum dos valores em x for infinito; caso contrário, false. Se x for vazio, false é devolvido.

Aplica-se a