linearExceptions.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
18 #pragma once
19 
21 #include <gtsam/base/types.h>
22 
23 namespace gtsam {
24 
94  class GTSAM_EXPORT IndeterminantLinearSystemException : public ThreadsafeException<IndeterminantLinearSystemException> {
96  public:
98  ~IndeterminantLinearSystemException() noexcept override {}
99  Key nearbyVariable() const { return j_; }
100  const char* what() const noexcept override;
101  };
102 
103  /* ************************************************************************* */
107  public:
110 
111  InvalidNoiseModel(DenseIndex factorDims, DenseIndex noiseModelDims) :
112  factorDims(factorDims), noiseModelDims(noiseModelDims) {}
113  ~InvalidNoiseModel() noexcept override {}
114 
115  const char* what() const noexcept override;
116  };
117 
118  /* ************************************************************************* */
122  public:
125 
126  InvalidMatrixBlock(DenseIndex factorRows, DenseIndex blockRows) :
127  factorRows(factorRows), blockRows(blockRows) {}
128  ~InvalidMatrixBlock() noexcept override {}
129 
130  const char* what() const noexcept override;
131  };
132 
133  /* ************************************************************************* */
135  public:
137  };
138 
139  }
gtsam::InvalidNoiseModel::noiseModelDims
const DenseIndex noiseModelDims
The dimensionality of the noise model.
Definition: linearExceptions.h:109
types.h
Typedefs for easier changing of types.
gtsam::ThreadsafeException
Base exception type that uses tbb_allocator if GTSAM is compiled with TBB.
Definition: ThreadsafeException.h:40
gtsam::IndeterminantLinearSystemException::nearbyVariable
Key nearbyVariable() const
Definition: linearExceptions.h:99
gtsam::InvalidMatrixBlock::blockRows
const DenseIndex blockRows
The dimensionality of the noise model.
Definition: linearExceptions.h:124
gtsam::InvalidDenseElimination::InvalidDenseElimination
InvalidDenseElimination(const char *message)
Definition: linearExceptions.h:136
gtsam::InvalidNoiseModel
Definition: linearExceptions.h:106
gtsam::InvalidNoiseModel::~InvalidNoiseModel
~InvalidNoiseModel() noexcept override
Definition: linearExceptions.h:113
gtsam::IndeterminantLinearSystemException::IndeterminantLinearSystemException
IndeterminantLinearSystemException(Key j) noexcept
Definition: linearExceptions.h:97
gtsam::InvalidNoiseModel::factorDims
const DenseIndex factorDims
The dimensionality of the factor.
Definition: linearExceptions.h:108
ThreadsafeException.h
j
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
gtsam::InvalidMatrixBlock::InvalidMatrixBlock
InvalidMatrixBlock(DenseIndex factorRows, DenseIndex blockRows)
Definition: linearExceptions.h:126
gtsam::IndeterminantLinearSystemException::j_
Key j_
Definition: linearExceptions.h:95
gtsam::InvalidDenseElimination
Definition: linearExceptions.h:134
gtsam::InvalidNoiseModel::InvalidNoiseModel
InvalidNoiseModel(DenseIndex factorDims, DenseIndex noiseModelDims)
Definition: linearExceptions.h:111
gtsam::IndeterminantLinearSystemException::~IndeterminantLinearSystemException
~IndeterminantLinearSystemException() noexcept override
Definition: linearExceptions.h:98
gtsam
traits
Definition: SFMdata.h:40
gtsam::DenseIndex
ptrdiff_t DenseIndex
The index type for Eigen objects.
Definition: types.h:103
gtsam::IndeterminantLinearSystemException
Definition: linearExceptions.h:94
gtsam::InvalidMatrixBlock
Definition: linearExceptions.h:121
gtsam::Key
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:97
gtsam::InvalidMatrixBlock::~InvalidMatrixBlock
~InvalidMatrixBlock() noexcept override
Definition: linearExceptions.h:128
gtsam::InvalidMatrixBlock::factorRows
const DenseIndex factorRows
The dimensionality of the factor.
Definition: linearExceptions.h:123


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:33:07