Go to the documentation of this file.
38 return g.applyTranspositionOnTheRight(
i,
j);
44 for (
size_t i = 0;
i <
N;
i++)
53 for (
size_t i = 0;
i <
N;
i++)
54 os <<
m.indices()[
i] <<
" ";
57 void print(
const std::string&
s =
"")
const {
58 std::cout <<
s << *
this << std::endl;
77 using namespace gtsam;
82 S2 e, s1 = S2::Transposition(0, 1);
84 EXPECT(check_group_invariants(
e, s1));
92 EXPECT(check_group_invariants(
e, s1));
110 os <<
"( " <<
m.first <<
", " <<
m.second <<
")";
117 struct traits<
Dih6> : internal::MultiplicativeGroupTraits<Dih6> {
119 cout <<
s <<
m << endl;
128 Dih6 e,
g(S2::Transposition(0, 1),
131 EXPECT(check_group_invariants(
e,
g));
static int runAllTests(TestResult &result)
Namespace containing all symbols from the Eigen library.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
const IndicesType & indices() const
bool equals(const Symmetric< N > &other, double tol=0) const
Concept check for values that can be used in unit tests.
#define EXPECT(condition)
friend std::ostream & operator<<(std::ostream &os, const Symmetric &m)
Concept check class for variable types with Group properties.
Symmetric operator*(const Symmetric &other) const
static void Print(const Dih6 &m, const string &s="")
static bool Equals(const Dih6 &m1, const Dih6 &m2, double tol=1e-8)
ofstream os("timeSchurFactors.csv")
static Symmetric Transposition(int i, int j)
DirectProduct< S2, S3 > Dih6
bool operator==(const Symmetric &other) const
void print(const std::string &s="") const
void g(const string &key, int i)
static Symmetric Identity()
Symmetric(const Eigen::PermutationMatrix< N > &P)
PlainPermutationType operator*(const PermutationBase< Other > &other) const
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Symmetric inverse() const
#define GTSAM_CONCEPT_ASSERT(concept)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:07:38