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

Calculate the variance of a Matrix.

This function calculates the variance of a matrix when the mean is already known.

Parameters:
AThe matrix whose variance is of interest.
muThe mean of the values in the matrix.
See also:
var(cons Matrix<T,PO,PS> &A)
varc(const Matrix<T,PO,PS> &A)
sd(const Matrix<T,PO,PS> &A)
mean(const Matrix<T,PO,PS> &A)