Tensor.StdDev<T>(ReadOnlyTensorSpan<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the standard deviation of the elements in the x
tensor.
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T>, System::Numerics::IPowerFunctions<T>, System::Numerics::IAdditionOperators<T, T, T>, System::Numerics::IAdditiveIdentity<T, 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.IFloatingPoint<T>, System.Numerics.IPowerFunctions<T>, System.Numerics.IAdditionOperators<T,T,T>, System.Numerics.IAdditiveIdentity<T,T>;
static member StdDev : ReadOnlyTensorSpan -> 'T (requires 'T :> System.Numerics.IFloatingPoint<'T> and 'T :> System.Numerics.IPowerFunctions<'T> and 'T :> System.Numerics.IAdditionOperators<'T, 'T, 'T> and 'T :> System.Numerics.IAdditiveIdentity<'T, 'T>)
Public Function StdDev(Of T As {IFloatingPoint(Of T), IPowerFunctions(Of T), IAdditionOperators(Of T, T, T), IAdditiveIdentity(Of T, T)}) (ByRef x As ReadOnlyTensorSpan(Of T)) As T
Type Parameters
- T
Parameters
The TensorSpan<T> to take the standard deviation of.
Returns
T
T
representing the standard deviation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.