TensorPrimitives.StdDev<T>(ReadOnlySpan<T>) Metodo

Definizione

Calcola la deviazione standard di tutti gli elementi nel tensore non vuoto specificato di numeri.

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

Parametri di tipo

T

Parametri

x
ReadOnlySpan<T>

Tensore, rappresentato come intervallo.

Valori restituiti

T

Deviazione standard di tutti gli elementi in x.

Eccezioni

La lunghezza di deve essere maggiore di x zero.

Commenti

Se uno dei valori di input è uguale a NaN, anche il valore del risultato è NaN.

Si applica a