SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix
Class MatrixSingularityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.numericalmethod.suanshu.matrix.MatrixSingularityException
All Implemented Interfaces:
java.io.Serializable

public class MatrixSingularityException
extends java.lang.RuntimeException

This defines the RuntimeException thrown when operation acts on a singular matrix. E.g., applying LU decomposition to a singular matrix will fail.

A singular matrix is a matrix that is not invertible; equivalently, its determinant is 0.

See Also:
Wikipedia: Singular matrix, Serialized Form

Constructor Summary
MatrixSingularityException()
          Construct a MatrixSingularityException.
MatrixSingularityException(java.lang.String msg)
          Construct a MatrixSingularityException with a message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatrixSingularityException

public MatrixSingularityException()
Construct a MatrixSingularityException.


MatrixSingularityException

public MatrixSingularityException(java.lang.String msg)
Construct a MatrixSingularityException with a message.

Parameters:
msg - an error message

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.