Class NonSquareMatrixException

  • All Implemented Interfaces:
    java.io.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
    Version:
    $Revision: 983921 $ $Date: 2010-08-10 12:46:06 +0200 (mar. 10 août 2010) $
    See Also:
    Serialized Form
    • Constructor Detail

      • 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