Scythe-1.0.3
template<typename T , matrix_order PO, matrix_style PS>
T scythe::sd ( const Matrix< T, PO, PS > &  A)

Calculate the standard deviation of a Matrix.

This function calculates the standard deviation of a matrix by taking the square root of the matrix's variance.

Parameters:
AThe matrix whose standard deviation is of interest.
See also:
sd(const Matrix<T,PO,PS) &A, T mu)
sdc(const Matrix<T,PO,PS> &A)
variance(const Matrix<T,PO,PS> &A)

References sqrt(), and var().

Referenced by dnorm(), kurtosis(), scythe::rng< mersenne >::rnorm(), scythe::rng< mersenne >::rtnorm(), scythe::rng< mersenne >::rtnorm_combo(), and skew().