|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.numericalmethod.suanshu.matrix.MatrixMismatchException
public class MatrixMismatchException
This defines the RuntimeException thrown when operation acts on matrices that have incompatible dimensions.
E.g.,
A + B fails when A and B have different numbers of rows and columns.
A %*% B fails when A has a number of columns different than the number of rows B has.
| Constructor Summary | |
|---|---|
MatrixMismatchException()
Construct a MatrixMismatchException. |
|
MatrixMismatchException(java.lang.String msg)
Construct a MatrixMismatchException 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 |
|---|
public MatrixMismatchException()
public MatrixMismatchException(java.lang.String msg)
msg - an error message
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||