Lenguaje

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

Definición

Calcula si alguno de los valores del tensor especificado es un número entero impar.

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

Parámetros de tipo

T

Parámetros

x
ReadOnlySpan<T>

Tensor, representado como un intervalo.

Devoluciones

true es si alguno de los valores de x es un número entero impar; de lo contrario, falsees . Si x está vacío, false se devuelve.

Se aplica a