src/utils/matrix/operation/NormMatrixOperation.java
public double apply(Matrix input) throws MatrixException {
        this.input = input;
        applyMatrixOperation();
        return Math.pow(value, 1 / (double)p);
    }
/**
     * Applies operation.
     *
     * @param input input matrix.
     * @return result matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies operation.

@param input input matrix.
@return result matrix.
@throws MatrixException throws exception if matrix operation fails.
Applies operation . @param input input matrix . @return result matrix . @throws MatrixException throws exception if matrix operation fails .
public double apply(Matrix input) throws MatrixException {
        this.input = input;
        applyMatrixOperation();
        return Math.pow(value, 1 / (double)p);
    }
public double apply ( Matrix input ) throws MatrixException { this . input = input ; applyMatrixOperation ( ) ; return Math . pow ( value , 1 / ( double ) p ) ; }
Applies operation.
Applies operation .