Method std
static member std: Tensor<'T> * int64 option -> 'T
Calculates the standard deviation of the tensor.
Declaration
static member std: a:Tensor<'T> * ddof:int64 option -> 'TParameters
| Type | Name | Description | 
|---|---|---|
| Tensor<'T> | a | The tensor containing the source values. | 
| int64 option | ddof | The delta degrees of freedom. (default: 0L) | 
Returns
| Type | Description | 
|---|---|
| 'T | The standard deviation estimate. | 
Remarks
The standard deviation is calculated over all elements of the tensor.
The parameter ddof specifies the difference between the number of elements and the
degrees of freedom for the computation of the variance. Use ddof=1 to obtain an unbiased estimate and
ddof=0 for a maximum-likelihood estimate.
Examples
 let a = HostTensor.ofList2D [[1.0; 2.0; 3.0; 4.0]
                              [5.0; 6.0; 7.0; 8.0]]
 let b = Tensor.std a