Class SingularMatrixException
Singular Matrix Exception.
Inheritance
Exception
SingularMatrixException
Namespace: Mars.Numerics.Exceptions
Assembly: Mars.Numerics.dll
Syntax
public class SingularMatrixException : Exception
Remarks
The singular matrix exception is thrown in cases where a method which performs matrix inversions has encountered a non-invertible matrix during the process.
Constructors
SingularMatrixException()
Initializes a new instance of the SingularMatrixException class.
Declaration
public SingularMatrixException()
SingularMatrixException(SerializationInfo, StreamingContext)
Initializes a new instance of the SingularMatrixException class.
Declaration
protected SingularMatrixException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
The info parameter is null.
|
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
SingularMatrixException(String)
Initializes a new instance of the SingularMatrixException class.
Declaration
public SingularMatrixException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message providing some additional information. |
SingularMatrixException(String, Exception)
Initializes a new instance of the SingularMatrixException class.
Declaration
public SingularMatrixException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message providing some additional information. |
Exception | innerException | The exception that is the cause of the current exception. |