Description
Many methods in RealMatrix take as an argument a double[][] as the representation of a matrix. As such, the array should be rectangular. Checks should be provided, as requested in the Javadoc of e.g. void setSubMatrix(double[][], int, int).