src/utils/matrix/operation/VarianceMatrixOperation.java
public double applyVariance(Matrix input) throws MatrixException {
        this.input = input;
        applyMatrixOperation();
        return count > 0 ? value / (double)count : 0;
    }
/**
     * Applies variance operation.
     *
     * @param input input matrix.
     * @return variance of matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies variance operation.

@param input input matrix.
@return variance of matrix.
@throws MatrixException throws exception if matrix operation fails.
Applies variance operation . @param input input matrix . @return variance of matrix . @throws MatrixException throws exception if matrix operation fails .
public double applyVariance(Matrix input) throws MatrixException {
        this.input = input;
        applyMatrixOperation();
        return count > 0 ? value / (double)count : 0;
    }
public double applyVariance ( Matrix input ) throws MatrixException { this . input = input ; applyMatrixOperation ( ) ; return count > 0 ? value / ( double ) count : 0 ; }
Applies variance operation.
Applies variance operation .