TensorPrimitives.IsOddIntegerAll<T>(ReadOnlySpan<T>) メソッド

定義

指定したテンソル内のすべての値が奇数の整数であるかどうかを計算します。

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

型パラメーター

T

パラメーター

x
ReadOnlySpan<T>

スパンとして表されるテンソル。

返品

true x内のすべての値が奇数の整数の場合は。それ以外の場合はfalsexが空の場合は、falseが返されます。

適用対象