Class MatrixDimensionMismatchException

All Implemented Interfaces:
Serializable, ExceptionContextProvider

Exception to be thrown when either the number of rows or the number of columns of a matrix do not match the expected values.
Since:
3.0
See Also:
  • Constructor Details

    • 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 Details