Class PositiveDefiniteMatrixException
Exception thrown when a matrix is not positive definite.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Math
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class PositiveDefiniteMatrixException : Exception, ISerializable
Constructors
PositiveDefiniteMatrixException()
Creates a new positive definite matrix exception
Declaration
public PositiveDefiniteMatrixException()
PositiveDefiniteMatrixException(SerializationInfo, StreamingContext)
Initializes a new instance of the PositiveDefiniteMatrixException class.
Declaration
protected PositiveDefiniteMatrixException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The object that holds the serialized object data. |
StreamingContext | context | The contextual information about the source or destination. |
PositiveDefiniteMatrixException(String)
Initializes a new instance of the PositiveDefiniteMatrixException class with a specified error message.
Declaration
public PositiveDefiniteMatrixException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
PositiveDefiniteMatrixException(String, Exception)
Initializes a new instance of the PositiveDefiniteMatrixException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public PositiveDefiniteMatrixException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Exception | inner | The exception that is the cause of the current exception. |