Tensor.Average<T>(ReadOnlyTensorSpan<T>) メソッド

定義

x テンソル内の要素の平均を返します。

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static T Average(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static T Average<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.INumberBase<T>;
static member Average : ReadOnlyTensorSpan -> 'T (requires 'T :> System.Numerics.INumberBase<'T>)
Public Function Average(Of T As INumberBase(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As T

型パラメーター

T

パラメーター

x
ReadOnlyTensorSpan<T>

平均を取る TensorSpan<T>

返品

T

T 平均を表します。

適用対象