NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Attributes | List of all members
numerical::logm_result Struct Reference

The principal logarithm of a square matrix with what SciPy warns of: log A (complex), and whether A's triangular form was exactly singular (its zero diagonal entries taken as 10⁻²⁰, as SciPy's) or nearly (a diagonal entry below 10⁻²⁰ in modulus). More...

#include <matrix_functions.hpp>

Collaboration diagram for numerical::logm_result:
[legend]

Public Attributes

matrix< std::complex< double > > log
 log A.
 
bool exactly_singular {false}
 A zero diagonal entry of the triangular form was replaced.
 
bool nearly_singular {false}
 A diagonal entry of the triangular form is below 10⁻²⁰.
 

Detailed Description

The principal logarithm of a square matrix with what SciPy warns of: log A (complex), and whether A's triangular form was exactly singular (its zero diagonal entries taken as 10⁻²⁰, as SciPy's) or nearly (a diagonal entry below 10⁻²⁰ in modulus).

Definition at line 2665 of file matrix_functions.hpp.

Member Data Documentation

◆ exactly_singular

bool numerical::logm_result::exactly_singular {false}

A zero diagonal entry of the triangular form was replaced.

Definition at line 2668 of file matrix_functions.hpp.

◆ log

matrix<std::complex<double> > numerical::logm_result::log

log A.

Definition at line 2667 of file matrix_functions.hpp.

◆ nearly_singular

bool numerical::logm_result::nearly_singular {false}

A diagonal entry of the triangular form is below 10⁻²⁰.

Definition at line 2669 of file matrix_functions.hpp.


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