src/utils/matrix/operation/EntropyMatrixOperation.java
public double applyEntropy(Matrix input) throws MatrixException {
        this.input = input;
        applyMatrixOperation();
        return -value / (double)count;
    }
/**
     * Applies entropy operation.
     *
     * @param input input matrix.
     * @return entropy of matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies entropy operation.

@param input input matrix.
@return entropy of matrix.
@throws MatrixException throws exception if matrix operation fails.
Applies entropy operation . @param input input matrix . @return entropy of matrix . @throws MatrixException throws exception if matrix operation fails .
public double applyEntropy(Matrix input) throws MatrixException {
        this.input = input;
        applyMatrixOperation();
        return -value / (double)count;
    }
public double applyEntropy ( Matrix input ) throws MatrixException { this . input = input ; applyMatrixOperation ( ) ; return - value / ( double ) count ; }
Applies entropy operation.
Applies entropy operation .