Class NonSquareMatrixException

  • All Implemented Interfaces:, MathThrowable

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

      • NonSquareMatrixException

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