|
NumericAL
A header-only C++20 lexer built on REAL
|
Thrown when a Cholesky factorisation finds the matrix not positive-definite. More...
#include <factorizations.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. | |
Public Member Functions inherited from numerical::detail::tagged< std::runtime_error > | |
| const char * | what () const noexcept override |
| The message. | |
Public Member Functions inherited from numerical::error | |
| virtual | ~error ()=default |
Private Attributes | |
| std::size_t | order_ |
| The order of the failing leading minor, or 0. | |
Additional Inherited Members | |
Protected Member Functions inherited from numerical::error | |
| error ()=default | |
| error (const error &)=default | |
| error (error &&)=default | |
| error & | operator= (const error &)=default |
| error & | operator= (error &&)=default |
Thrown when a Cholesky factorisation finds the matrix not positive-definite.
Definition at line 2574 of file factorizations.hpp.
|
inlineexplicit |
Builds the error.
| [in] | message | Human-readable cause. |
| [in] | order | As order gives it. |
Definition at line 2579 of file factorizations.hpp.
|
inlinenoexcept |
The order of the first leading minor found not positive definite (LAPACK's info), 0 where unknown.
Definition at line 2585 of file factorizations.hpp.
|
private |
The order of the failing leading minor, or 0.
Definition at line 2592 of file factorizations.hpp.