gtsam
Loading...
Searching...
No Matches
Group.h File Reference

Concept check class for variable types with Group properties. More...

Go to the source code of this file.

Classes

struct  gtsam::group_tag
 tag to assert a type is a group More...
struct  gtsam::multiplicative_group_tag
 Group operator syntax flavors. More...
struct  gtsam::additive_group_tag
class  gtsam::IsGroup< G >
 Group Concept. More...
struct  gtsam::internal::MultiplicativeGroupTraits< Class >
 A helper class that implements the traits interface for multiplicative groups. More...
struct  gtsam::internal::MultiplicativeGroup< Class >
 Both multiplicative group traits and Testable. More...
struct  gtsam::internal::AdditiveGroupTraits< Class >
 A helper class that implements the traits interface for additive groups. More...
struct  gtsam::internal::AdditiveGroup< Class >
 Both additive group traits and Testable. More...
class  gtsam::DirectProduct< G, H >
 Template to construct the direct product of two arbitrary groups Assumes nothing except group structure and Testable from G and H. More...
struct  gtsam::traits< DirectProduct< G, H > >
class  gtsam::DirectSum< G, H >
 Template to construct the direct sum of two additive groups Assumes existence of three additive operators for both groups. More...
struct  gtsam::traits< DirectSum< G, H > >

Namespaces

namespace  gtsam
 Global functions in a separate testing namespace.

Macros

#define GTSAM_CONCEPT_GROUP_INST(T)
 Macros for using the IsGroup.
#define GTSAM_CONCEPT_GROUP_TYPE(T)

Functions

template<typename G>
 gtsam::check_group_invariants (const G &a, const G &b, double tol=1e-9)
 Check invariants.
template<typename G>
 gtsam::compose_pow (const G &g, size_t n)
 compose multiple times

Detailed Description

Concept check class for variable types with Group properties.

Date
November, 2011
Author
Alex Cunningham
Frank Dellaert

Macro Definition Documentation

◆ GTSAM_CONCEPT_GROUP_INST

#define GTSAM_CONCEPT_GROUP_INST ( T)
Value:
template class gtsam::IsGroup<T>;
Group Concept.
Definition Group.h:43

Macros for using the IsGroup.

  • An instantiation for use inside unit tests
  • A typedef for use inside generic algorithms

NOTE: intentionally not in the gtsam namespace to allow for classes not in the gtsam namespace to be more easily enforced as testable

◆ GTSAM_CONCEPT_GROUP_TYPE

#define GTSAM_CONCEPT_GROUP_TYPE ( T)
Value:
typedef gtsam::IsGroup<T> _gtsam_IsGroup_##T;