Class NonSquareMatrixException

All Implemented Interfaces:
Serializable, MathThrowable

public class NonSquareMatrixException extends InvalidMatrixException
Thrown when an operation defined only for square matrices is applied to non-square ones.
Since:
2.0
See Also:
  • Constructor Details

    • NonSquareMatrixException

      public NonSquareMatrixException(int rows, int columns)
      Construct an exception with the given message.
      Parameters:
      rows - number of rows of the faulty matrix
      columns - number of columns of the faulty matrix