Go to the documentation of this file.
34 template<
class ValueType>
43 template<
class ValueType>
60 template<
class ValueType,
class CastedKeyValuePairType,
class KeyValuePairType>
62 static CastedKeyValuePairType
cast(KeyValuePairType key_value) {
64 return CastedKeyValuePairType(key_value.key,
66 ValueType
>&>(key_value.value)).
value());
70 template<
class CastedKeyValuePairType,
class KeyValuePairType>
72 static CastedKeyValuePairType
cast(KeyValuePairType key_value) {
76 return CastedKeyValuePairType(key_value.key, key_value.value);
80 template<
class CastedKeyValuePairType,
class KeyValuePairType>
82 static CastedKeyValuePairType
cast(KeyValuePairType key_value) {
86 return CastedKeyValuePairType(key_value.key, key_value.value);
91 template <
class ValueType>
101 template <
class ValueType>
102 std::map<Key, ValueType>
104 std::map<Key, ValueType>
result;
107 if (filterFcn(
key)) {
119 inline bool Values::filterHelper<Value>(
const std::function<
bool(
Key)> filter,
122 return filter(key_value.
key);
131 template <
typename ValueType>
144 template <
typename MatrixType,
bool isDynamic>
148 template <
int M,
int N>
163 template <
int M,
int N>
181 if (
A.rows() !=
M ||
A.cols() !=
N)
190 template <
int M,
int N>
203 template <
int M,
int N>
204 struct handle_matrix<
Eigen::
Matrix<double, M, N, 0, M, N>, true> {
218 template <
int M,
int N>
219 struct handle_matrix<
Eigen::
Matrix<double, M, N, 0, M, N>, false> {
221 auto ptr =
dynamic_cast<const GenericValue<Eigen::Matrix<double, M, N>
>*>(pointer);
228 auto ptr =
dynamic_cast<const GenericValue<Eigen::MatrixXd>*
>(pointer);
233 A = handle_matrix<Eigen::VectorXd, true>()(
j, pointer);
236 if (
A.rows() !=
M ||
A.cols() !=
N)
237 throw NoMatchFoundForFixed(
M,
N,
A.rows(),
A.cols());
245 template <
int M,
int N>
248 return handle_matrix<Eigen::Matrix<double, M, N, 0, M, N>,
252 #endif // #if _MSC_VER < 1937
253 #endif // #ifdef _WIN32
258 template <
typename ValueType>
261 KeyValueMap::const_iterator item =
values_.find(
j);
269 return h(
j, item->second.get());
273 template<
typename ValueType>
276 KeyValueMap::const_iterator item =
values_.find(
j);
283 return &ptr->
value();
296 template<
typename ValueType>
302 template <
typename UnaryOp,
typename ValueType>
308 template <
typename BinaryOp,
typename ValueType1,
typename ValueType2>
314 template <
typename ValueType>
320 template <
typename UnaryOp,
typename ValueType>
326 template <
typename BinaryOp,
typename ValueType1,
typename ValueType2>
332 template <
typename ValueType>
337 template <
typename UnaryOp,
typename ValueType>
342 template <
typename BinaryOp,
typename ValueType1,
typename ValueType2>
Namespace containing all symbols from the Eigen library.
_ValuesConstKeyValuePair(Key _key, const ValueType &_value)
Generic expression where a coefficient-wise binary operator is applied to two expressions.
_ValuesConstKeyValuePair(const _ValuesKeyValuePair< ValueType > &rhs)
State class representing the state of the Biased Attitude System.
A key-value pair, which you get by dereferencing iterators.
ValueType & value
The value.
void update(Key j, const Value &val)
Eigen::Matrix< double, M, N > operator()(Key j, const Value *const pointer)
Eigen::Matrix< double, M, N > operator()(Key j, const Value *const pointer)
ValueType operator()(Key j, const Value *const pointer)
const ValueType at(Key j) const
std::map< Key, ValueType > extract(const std::function< bool(Key)> &filterFcn=&_truePredicate< Key >) const
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
const T & value() const
Return a constant value.
const gtsam::Symbol key('X', 0)
static CastedKeyValuePairType cast(KeyValuePairType key_value)
const ValueType & value
The value.
static CastedKeyValuePairType cast(KeyValuePairType key_value)
Generic expression where a coefficient-wise unary operator is applied to an expression.
void insert(Key j, const Value &val)
The matrix class, also used for vectors and row-vectors.
abc_eqf_lib::State< N > M
std::uint64_t Key
Integer nonlinear key type.
constexpr descr< N - 1 > _(char const (&text)[N])
_ValuesKeyValuePair(Key _key, ValueType &_value)
static CastedKeyValuePairType cast(KeyValuePairType key_value)
Eigen::Matrix< double, M, N > operator()(Key j, const Value *const pointer)
A non-templated config holding any types of Manifold-group elements.
void insert_or_assign(Key j, const Value &val)
If key j exists, update value, else perform an insert.
gtsam
Author(s):
autogenerated on Wed May 28 2025 03:08:41