NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
numerical::non_finite_error Class Reference

Thrown when a decomposition's input holds an infinite or NaN entry: no factorisation of it means anything, and the iterative ones (eigh, SVD) would stop at once and return plausible values. More...

#include <factorizations.hpp>

Inheritance diagram for numerical::non_finite_error:
[legend]
Collaboration diagram for numerical::non_finite_error:
[legend]

Public Member Functions

 non_finite_error (const std::string &message)
 Builds the error.
 
- Public Member Functions inherited from numerical::detail::tagged< std::domain_error >
const char * what () const noexcept override
 The message.
 
- Public Member Functions inherited from numerical::error
virtual ~error ()=default
 

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
 

Detailed Description

Thrown when a decomposition's input holds an infinite or NaN entry: no factorisation of it means anything, and the iterative ones (eigh, SVD) would stop at once and return plausible values.

Definition at line 597 of file factorizations.hpp.

Constructor & Destructor Documentation

◆ non_finite_error()

numerical::non_finite_error::non_finite_error ( const std::string &  message)
inlineexplicit

Builds the error.

Parameters
[in]messageHuman-readable cause.

Definition at line 602 of file factorizations.hpp.


The documentation for this class was generated from the following file: