com.numericalmethod.suanshu.matrix
Class MatrixSingularityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| 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 |
MatrixSingularityException
public MatrixSingularityException()
- Construct a MatrixSingularityException.
MatrixSingularityException
public MatrixSingularityException(java.lang.String msg)
- Construct a MatrixSingularityException with a message.
- Parameters:
msg - an error message
Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.