Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uni20::lapack::LapackError Class Reference

Exception carrying a terminal positive LAPACK INFO result. More...

#include <lapack_error.hpp>

Inheritance diagram for uni20::lapack::LapackError:
[legend]
Collaboration diagram for uni20::lapack::LapackError:
[legend]

Public Member Functions

blas_int info () const noexcept
 Return the positive provider INFO value.
 
 LapackError (std::string routine, blas_int info, std::string reason)
 Construct an error from the provider routine, status, and interpreted reason.
 
std::string const & reason () const noexcept
 Return Uni20's interpretation of the provider failure.
 
std::string const & routine () const noexcept
 Return the LAPACK routine name without a scalar prefix.
 
- Public Member Functions inherited from uni20::diagnostic_error
 diagnostic_error (std::string message)
 Construct an exception with its concise plain-text message.
 
void set_source_location (std::source_location where) noexcept
 Attach the source location at which the exception is raised.
 
std::optional< std::source_location > const & source_location () const noexcept
 Return the attached source location, if any.
 

Detailed Description

Exception carrying a terminal positive LAPACK INFO result.

Constructor & Destructor Documentation

◆ LapackError()

uni20::lapack::LapackError::LapackError ( std::string  routine,
blas_int  info,
std::string  reason 
)
inline

Construct an error from the provider routine, status, and interpreted reason.

Member Function Documentation

◆ info()

blas_int uni20::lapack::LapackError::info ( ) const
inlinenoexcept

Return the positive provider INFO value.

◆ reason()

std::string const & uni20::lapack::LapackError::reason ( ) const
inlinenoexcept

Return Uni20's interpretation of the provider failure.

◆ routine()

std::string const & uni20::lapack::LapackError::routine ( ) const
inlinenoexcept

Return the LAPACK routine name without a scalar prefix.


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