Loading [MathJax]/extensions/tex2jax.js
fortran-lapack
All Classes Namespaces Files Functions Variables Pages
la_state_type Module Reference

State and error handling module for linear algebra routines. More...

Data Types

module  la_state
 Defines a state return type for a linear algebra routine. More...
 
interface  operator(/=)
 
interface  operator(<)
 
interface  operator(<=)
 
interface  operator(==)
 Comparison operators. More...
 
interface  operator(>)
 
interface  operator(>=)
 

Variables

integer(ilp), parameter, public linalg_success = 0_ilp
 Public interfaces.
 
integer(ilp), parameter, public linalg_value_error = -1_ilp
 Value error.
 
integer(ilp), parameter, public linalg_error = -2_ilp
 Algebra error.
 
integer(ilp), parameter, public linalg_internal_error = -3_ilp
 Internal error (should never happen)
 

Detailed Description

State and error handling module for linear algebra routines.

This module defines the la_state type, which is used for error handling in linear algebra computations. It provides state tracking, formatted error messages, and a mechanism for comparing state values.

Variable Documentation

◆ linalg_error

integer(ilp), parameter, public la_state_type::linalg_error = -2_ilp

Algebra error.

◆ linalg_internal_error

integer(ilp), parameter, public la_state_type::linalg_internal_error = -3_ilp

Internal error (should never happen)

◆ linalg_success

integer(ilp), parameter, public la_state_type::linalg_success = 0_ilp

Public interfaces.

Successful return

◆ linalg_value_error

integer(ilp), parameter, public la_state_type::linalg_value_error = -1_ilp

Value error.