|
NumericAL
A header-only C++20 lexer built on REAL
|
Thrown when a Cholesky factorisation finds the matrix not positive-definite. More...
#include <decomposition.hpp>
Public Member Functions | |
| not_positive_definite_error (const std::string &message, std::size_t order=0) | |
| Builds the error. | |
| std::size_t | order () const noexcept |
The order of the first leading minor found not positive definite (LAPACK's info), 0 where unknown. | |
Private Attributes | |
| std::size_t | order_ |
| The order of the failing leading minor, or 0. | |
Thrown when a Cholesky factorisation finds the matrix not positive-definite.
Definition at line 1552 of file decomposition.hpp.
|
inlineexplicit |
Builds the error.
| [in] | message | Human-readable cause. |
| [in] | order | As order gives it. |
Definition at line 1557 of file decomposition.hpp.
|
inlinenoexcept |
The order of the first leading minor found not positive definite (LAPACK's info), 0 where unknown.
Definition at line 1563 of file decomposition.hpp.
|
private |
The order of the failing leading minor, or 0.
Definition at line 1570 of file decomposition.hpp.