src/utils/matrix/MMatrix.java
public MMatrix apply(UnaryFunction unaryFunction) throws MatrixException {
        MMatrix result = new MMatrix();
        apply(result, unaryFunction);
        return result;
    }
/**
     * Applies unaryFunction to this MMatrix.<br>
     * Example of operation can be applying square root operation to this matrix.<br>
     * Applies masking if MMatrix is masked.<br>
     *
     * @param unaryFunction unaryFunction to be applied.
     * @return matrix which stores operation result.
     * @throws MatrixException not thrown in any situation.
     */
Applies unaryFunction to this MMatrix.
Example of operation can be applying square root operation to this matrix.
Applies masking if MMatrix is masked.

@param unaryFunction unaryFunction to be applied.
@return matrix which stores operation result.
@throws MatrixException not thrown in any situation.
Applies unaryFunction to this MMatrix . Example of operation can be applying square root operation to this matrix . Applies masking if MMatrix is masked . @param unaryFunction unaryFunction to be applied . @return matrix which stores operation result . @throws MatrixException not thrown in any situation .
public MMatrix apply(UnaryFunction unaryFunction) throws MatrixException {
        MMatrix result = new MMatrix();
        apply(result, unaryFunction);
        return result;
    }
public MMatrix apply ( UnaryFunction unaryFunction ) throws MatrixException { MMatrix result = new MMatrix ( ) ; apply ( result , unaryFunction ) ; return result ; }
Applies unaryFunction to this MMatrix.<br>
 Example of operation can be applying square root operation to this matrix.<br>
 Applies masking if MMatrix is masked.<br>
Applies unaryFunction to this MMatrix . <br > Example of operation can be applying square root operation to this matrix . <br > Applies masking if MMatrix is masked . <br >