org.ojalgo.matrix
Class MatrixError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ojalgo.ProgrammingError
                  extended by org.ojalgo.matrix.MatrixError
All Implemented Interfaces:
Serializable

public class MatrixError
extends ProgrammingError

MatrixError

Author:
apete
See Also:
Serialized Form

Constructor Summary
MatrixError(String aString)
           
 
Method Summary
static void throwIfMultiplicationNotPossible(BasicMatrix aMtrxLeft, BasicMatrix aMtrxRight)
           
static void throwIfNotEqualColumnDimensions(BasicMatrix aMtrx1, BasicMatrix aMtrx2)
           
static void throwIfNotEqualDimensions(BasicMatrix aMtrx1, BasicMatrix aMtrx2)
           
static void throwIfNotEqualRowDimensions(BasicMatrix aMtrx1, BasicMatrix aMtrx2)
           
static void throwIfNotSquare(BasicMatrix aMtrx)
           
 
Methods inherited from class org.ojalgo.ProgrammingError
throwForIllegalInvocation, throwForTryingToModifyAnImmutableObject, throwIfNull, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatrixError

public MatrixError(String aString)
Method Detail

throwIfMultiplicationNotPossible

public static void throwIfMultiplicationNotPossible(BasicMatrix aMtrxLeft,
                                                    BasicMatrix aMtrxRight)

throwIfNotEqualColumnDimensions

public static void throwIfNotEqualColumnDimensions(BasicMatrix aMtrx1,
                                                   BasicMatrix aMtrx2)

throwIfNotEqualDimensions

public static void throwIfNotEqualDimensions(BasicMatrix aMtrx1,
                                             BasicMatrix aMtrx2)

throwIfNotEqualRowDimensions

public static void throwIfNotEqualRowDimensions(BasicMatrix aMtrx1,
                                                BasicMatrix aMtrx2)

throwIfNotSquare

public static void throwIfNotSquare(BasicMatrix aMtrx)