src/utils/matrix/ComputableMatrix.java
protected void applyFunction(Matrix result, UnaryFunction unaryFunction) throws MatrixException {
        if (result.getRows() != getRows() || result.getColumns() != getColumns()) {
            throw new MatrixException("Incompatible result matrix sizes: " + result.getRows() + "x" + result.getColumns());
        }
        new UnaryMatrixOperation(getRows(), getColumns(), unaryFunction).applyFunction(this, result);
    }
/**
     * Applies single variable operation to this matrix and stores operation result into result matrix.<br>
     * Applies masking if matrix is masked.<br>
     *
     * @param result matrix which stores operation result.
     * @param unaryFunction unary function.
     * @throws MatrixException throws MatrixException if this and result matrix are not of equal dimensions.
     */
Applies single variable operation to this matrix and stores operation result into result matrix.
Applies masking if matrix is masked.

@param result matrix which stores operation result.
@param unaryFunction unary function.
@throws MatrixException throws MatrixException if this and result matrix are not of equal dimensions.
Applies single variable operation to this matrix and stores operation result into result matrix . Applies masking if matrix is masked . @param result matrix which stores operation result . @param unaryFunction unary function . @throws MatrixException throws MatrixException if this and result matrix are not of equal dimensions .
protected void applyFunction(Matrix result, UnaryFunction unaryFunction) throws MatrixException {
        if (result.getRows() != getRows() || result.getColumns() != getColumns()) {
            throw new MatrixException("Incompatible result matrix sizes: " + result.getRows() + "x" + result.getColumns());
        }
        new UnaryMatrixOperation(getRows(), getColumns(), unaryFunction).applyFunction(this, result);
    }
protected void applyFunction ( Matrix result , UnaryFunction unaryFunction ) throws MatrixException { if ( result . getRows ( ) != getRows ( ) || result . getColumns ( ) != getColumns ( ) ) { throw new MatrixException ( "Incompatible result matrix sizes: " + result . getRows ( ) + "x" + result . getColumns ( ) ) ; } new UnaryMatrixOperation ( getRows ( ) , getColumns ( ) , unaryFunction ) . applyFunction ( this , result ) ; }
Applies single variable operation to this matrix and stores operation result into result matrix.<br>
 Applies masking if matrix is masked.<br>
Applies single variable operation to this matrix and stores operation result into result matrix . <br > Applies masking if matrix is masked . <br >