MatrixDimensionMismatchException
org.apache.commons.math3.linear

Class MatrixDimensionMismatchException

    • Constructor Detail

      • MatrixDimensionMismatchException

        public MatrixDimensionMismatchException(int wrongRowDim,                                int wrongColDim,                                int expectedRowDim,                                int expectedColDim)
        Construct an exception from the mismatched dimensions.
        Parameters:
        wrongRowDim - Wrong row dimension.
        wrongColDim - Wrong column dimension.
        expectedRowDim - Expected row dimension.
        expectedColDim - Expected column dimension.
    • Method Detail

      • getWrongRowDimension

        public int getWrongRowDimension()
        Returns:
        the expected row dimension.
      • getExpectedRowDimension

        public int getExpectedRowDimension()
        Returns:
        the expected row dimension.
      • getWrongColumnDimension

        public int getWrongColumnDimension()
        Returns:
        the wrong column dimension.
      • getExpectedColumnDimension

        public int getExpectedColumnDimension()
        Returns:
        the expected column dimension.

SCaVis 1.8 © jWork.org