Class NonSquareMatrixException

All Implemented Interfaces:
java.io.Serializable, ExceptionContextProvider

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

    • NonSquareMatrixException

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