Share via


Tensor.StdDev<T>(ReadOnlyTensorSpan<T>) Method

Definition

Returns the standard deviation of the elements in the x tensor.

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

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The TensorSpan<T> to take the standard deviation of.

Returns

T

T representing the standard deviation.

Applies to