Class MatrixDimensionMismatchException

All Implemented Interfaces:
Serializable, LocalizedException

@Deprecated public class MatrixDimensionMismatchException extends MultiDimensionMismatchException
Deprecated.
as of 1.0, this exception is replaced by MathIllegalArgumentException
Exception to be thrown when either the number of rows or the number of columns of a matrix do not match the expected values.
See Also:
  • Constructor Details

    • MatrixDimensionMismatchException

      public MatrixDimensionMismatchException(int wrongRowDim, int wrongColDim, int expectedRowDim, int expectedColDim)
      Deprecated.
      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

    • getWrongRowDimension

      public int getWrongRowDimension()
      Deprecated.
      Get wrong row dimension.
      Returns:
      the wrong row dimension
    • getExpectedRowDimension

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

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

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