src/utils/matrix/MMatrix.java
public MMatrix reference() throws MatrixException {
        MMatrix newMMatrix;
        // Make shallow copy of matrix leaving references internal objects which are shared.
        try {
            newMMatrix = (MMatrix)super.clone();
        } catch (CloneNotSupportedException exception) {
            throw new MatrixException("Cloning of matrix failed.");
        }
        return newMMatrix;
    }
/**
     * Creates new MMatrix with object reference to the matrix data of this MMatrix.
     *
     * @return newly created reference matrix.
     * @throws MatrixException throws exception if mask operation fails or cloning of matrix fails.
     */
Creates new MMatrix with object reference to the matrix data of this MMatrix.
@return newly created reference matrix.
@throws MatrixException throws exception if mask operation fails or cloning of matrix fails.
Creates new MMatrix with object reference to the matrix data of this MMatrix . @return newly created reference matrix . @throws MatrixException throws exception if mask operation fails or cloning of matrix fails .
public MMatrix reference() throws MatrixException {
        MMatrix newMMatrix;
        try {
            newMMatrix = (MMatrix)super.clone();
        } catch (CloneNotSupportedException exception) {
            throw new MatrixException("Cloning of matrix failed.");
        }
        return newMMatrix;
    }
public MMatrix reference ( ) throws MatrixException { MMatrix newMMatrix ; try { newMMatrix = ( MMatrix ) super . clone ( ) ; } catch ( CloneNotSupportedException exception ) { throw new MatrixException ( "Cloning of matrix failed." ) ; } return newMMatrix ; }
Creates new MMatrix with object reference to the matrix data of this MMatrix.
Creates new MMatrix with object reference to the matrix data of this MMatrix .
// Make shallow copy of matrix leaving references internal objects which are shared.