java.io.Serializable
public class SingularMatrixException
extends java.lang.RuntimeException
RuntimeException
dedicated to operations where a matrix needs to be inverted. Typically,
this corresponds to when a matrix is singular, i.e. its determinant is equal to zero, making
impossible to compute its inverse.Constructor | Description |
---|---|
SingularMatrixException() |
Constructs an
SingularMatrixException with no detail message. |
SingularMatrixException(double m00,
double m01,
double m02,
double m10,
double m11,
double m12,
double m20,
double m21,
double m22) |
Constructs an
SingularMatrixException with a default detail message outputting the
given matrix coefficients. |
SingularMatrixException(java.lang.String message) |
Constructs an
SingularMatrixException with the specified detail message. |
SingularMatrixException(Matrix3DReadOnly matrix) |
Constructs an
SingularMatrixException with a default detail message outputting the
given matrix coefficients. |
public SingularMatrixException()
SingularMatrixException
with no detail message.public SingularMatrixException(java.lang.String message)
SingularMatrixException
with the specified detail message.message
- the detail message.public SingularMatrixException(Matrix3DReadOnly matrix)
SingularMatrixException
with a default detail message outputting the
given matrix coefficients.matrix
- the matrix to be displayed in the detail message. Not modified.public SingularMatrixException(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
SingularMatrixException
with a default detail message outputting the
given matrix coefficients.m00
- the 1st row 1st column coefficient of the matrix to be displayed in the detail
message.m01
- the 1st row 2nd column coefficient of the matrix to be displayed in the detail
message.m02
- the 1st row 3rd column coefficient of the matrix to be displayed in the detail
message.m10
- the 2nd row 1st column coefficient of the matrix to be displayed in the detail
message.m11
- the 2nd row 2nd column coefficient of the matrix to be displayed in the detail
message.m12
- the 2nd row 3rd column coefficient of the matrix to be displayed in the detail
message.m20
- the 3rd row 1st column coefficient of the matrix to be displayed in the detail
message.m21
- the 3rd row 2nd column coefficient of the matrix to be displayed in the detail
message.m22
- the 3rd row 3rd column coefficient of the matrix to be displayed in the detail
message.