Class NonSquareMatrixException

All Implemented Interfaces:
Serializable, ExceptionContextProvider

public class NonSquareMatrixException extends DimensionMismatchException
Exception to be thrown when a square matrix is expected.
Since:
3.0
See Also:
  • Constructor Details

    • NonSquareMatrixException

      public NonSquareMatrixException(int wrong, int expected)
      Construct an exception from the mismatched dimensions.
      Parameters:
      wrong - Row dimension.
      expected - Column dimension.