Class NonPositiveDefiniteMatrixException
Inheritance
Implements
Inherited Members
Namespace: Mars.Numerics.Exceptions
Assembly: Mars.Numerics.dll
Syntax
[Serializable]
public class NonPositiveDefiniteMatrixException : Exception, ISerializable
Remarks
The non-positive definite matrix exception is thrown in cases where a method expects a matrix to have only positive eigenvalues, such when dealing with covariance matrices.
Constructors
| Improve this Doc View SourceNonPositiveDefiniteMatrixException()
Declaration
public NonPositiveDefiniteMatrixException()
Remarks
The non-positive definite matrix exception is thrown in cases where a method expects a matrix to have only positive eigenvalues, such when dealing with covariance matrices.
NonPositiveDefiniteMatrixException(SerializationInfo, StreamingContext)
Declaration
protected NonPositiveDefiniteMatrixException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Remarks
The non-positive definite matrix exception is thrown in cases where a method expects a matrix to have only positive eigenvalues, such when dealing with covariance matrices.
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). |
NonPositiveDefiniteMatrixException(String, Exception)
Declaration
public NonPositiveDefiniteMatrixException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message providing some additional information. |
System.Exception | innerException | The exception that is the cause of the current exception. |
Remarks
The non-positive definite matrix exception is thrown in cases where a method expects a matrix to have only positive eigenvalues, such when dealing with covariance matrices.
NonPositiveDefiniteMatrixException(String)
Declaration
public NonPositiveDefiniteMatrixException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message providing some additional information. |
Remarks
The non-positive definite matrix exception is thrown in cases where a method expects a matrix to have only positive eigenvalues, such when dealing with covariance matrices.