Public Member Functions | Private Attributes | List of all members
gtsam::IndeterminantLinearSystemException Class Reference

#include <linearExceptions.h>

Inheritance diagram for gtsam::IndeterminantLinearSystemException:
Inheritance graph
[legend]

Public Member Functions

 IndeterminantLinearSystemException (Key j) noexcept
 
Key nearbyVariable () const
 
const char * what () const noexcept override
 
 ~IndeterminantLinearSystemException () noexcept override
 
- Public Member Functions inherited from gtsam::ThreadsafeException< IndeterminantLinearSystemException >
const char * what () const noexcept override
 

Private Attributes

Key j_
 

Additional Inherited Members

- Protected Types inherited from gtsam::ThreadsafeException< IndeterminantLinearSystemException >
typedef std::allocator< char > Allocator
 
typedef std::string String
 
- Protected Member Functions inherited from gtsam::ThreadsafeException< IndeterminantLinearSystemException >
 ThreadsafeException ()
 Default constructor is protected - may only be created from derived classes. More...
 
 ThreadsafeException (const std::string &description)
 Construct with description string. More...
 
 ThreadsafeException (const ThreadsafeException &other)
 Copy constructor is protected - may only be created from derived classes. More...
 
 ~ThreadsafeException () noexcept override
 Default destructor doesn't have the noexcept. More...
 
- Protected Attributes inherited from gtsam::ThreadsafeException< IndeterminantLinearSystemException >
std::optional< Stringdescription_
 Optional description. More...
 
bool dynamic_
 Whether this object was moved. More...
 

Detailed Description

Thrown when a linear system is ill-posed. The most common cause for this error is having underconstrained variables. Mathematically, the system is either underdetermined, or its quadratic error function is concave in some directions.

Examples of situations causing this error are:

Mathematically, the following conditions cause this problem:

Resolving this problem:

Definition at line 94 of file linearExceptions.h.

Constructor & Destructor Documentation

◆ IndeterminantLinearSystemException()

gtsam::IndeterminantLinearSystemException::IndeterminantLinearSystemException ( Key  j)
inlinenoexcept

Definition at line 97 of file linearExceptions.h.

◆ ~IndeterminantLinearSystemException()

gtsam::IndeterminantLinearSystemException::~IndeterminantLinearSystemException ( )
inlineoverridenoexcept

Definition at line 98 of file linearExceptions.h.

Member Function Documentation

◆ nearbyVariable()

Key gtsam::IndeterminantLinearSystemException::nearbyVariable ( ) const
inline

Definition at line 99 of file linearExceptions.h.

◆ what()

const char * gtsam::IndeterminantLinearSystemException::what ( ) const
overridenoexcept

Definition at line 25 of file linearExceptions.cpp.

Member Data Documentation

◆ j_

Key gtsam::IndeterminantLinearSystemException::j_
private

Definition at line 95 of file linearExceptions.h.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:51:35