org.apache.commons.math.linear
Class NonSquareMatrixException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.math.MathRuntimeException
                  extended by org.apache.commons.math.linear.InvalidMatrixException
                      extended by org.apache.commons.math.linear.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
Version:
$Revision: 983921 $ $Date: 2010-08-10 12:46:06 +0200 (mar. 10 août 2010) $
See Also:
Serialized Form

Constructor Summary
NonSquareMatrixException(int rows, int columns)
          Construct an exception with the given message.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.MathRuntimeException
createArithmeticException, createArithmeticException, createArrayIndexOutOfBoundsException, createArrayIndexOutOfBoundsException, createConcurrentModificationException, createConcurrentModificationException, createEOFException, createEOFException, createIllegalArgumentException, createIllegalArgumentException, createIllegalArgumentException, createIllegalStateException, createIllegalStateException, createInternalError, createIOException, createNoSuchElementException, createNoSuchElementException, createNullPointerException, createNullPointerException, createParseException, createParseException, createUnsupportedOperationException, getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.