Class DimensionMismatchException

    • Constructor Detail

      • DimensionMismatchException

        public DimensionMismatchException​(int wrong,
                                          int expected)
        Construct an exception from the mismatched dimensions.
        Parameters:
        wrong - Wrong dimension.
        expected - Expected dimension.
    • Method Detail

      • getDimension

        public int getDimension()
        Returns:
        the expected dimension.