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

定義

指定したテンソル内のすべての値が正かどうかを計算します。

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

型パラメーター

T

パラメーター

x
ReadOnlySpan<T>

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

返品

内のすべての値が正の場合は a0/&。それ以外の場合は 。 xが空の場合は、falseが返されます。

適用対象