次の方法で共有


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

定義

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

public:
generic <typename T>
 where T : System::Numerics::IFloatingPoint<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.IFloatingPoint<T>;
static member Average : ReadOnlyTensorSpan -> 'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Average(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As T

型パラメーター

T

パラメーター

x
ReadOnlyTensorSpan<T>

平均を取る TensorSpan<T>

戻り値

T

平均を表す T

適用対象