Class SingularMatrixException

All Implemented Interfaces:
Serializable

public class SingularMatrixException extends LinearAlgebraException
An exception which is thrown when some operation not defined for singular matrices is attempted to be performed on a singular matrix. For example, attempting to invert a singular matrix.
See Also:
  • Constructor Details

    • SingularMatrixException

      public SingularMatrixException()
      Creates a SingularMatrixException with the simple error message "Matrix is singular."
    • SingularMatrixException

      public SingularMatrixException(String errMsg)
      Creates a SingularMatrixException with a specified error message. Note, the string " Matrix is singular." will be automatically appended to the error message.
      Parameters:
      errMsg - Error message to display when this SingularMatrixException is thrown.