Go to the documentation of this file.
30 static const size_t chrBits =
sizeof(
unsigned char) * 8;
42 std::stringstream
msg;
43 msg <<
"Symbol index is too large, j=" <<
j_ <<
", indexMask=" <<
indexMask;
44 throw std::invalid_argument(
msg.str());
51 std::cout <<
s << (std::string) (*
this) << std::endl;
58 Symbol::operator std::string()
const {
60 snprintf(
buffer, 10,
"%c%llu", c_,
static_cast<unsigned long long>(j_));
61 return std::string(
buffer);
67 auto equals = [](
unsigned char s,
unsigned char c) {
return s ==
c; };
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
bool equals(const Symbol &expected, double tol=0.0) const
Check equality.
static const Key indexMask
static const size_t indexBits
ofstream os("timeSchurFactors.csv")
static std::function< bool(Key)> ChrTest(unsigned char c)
unsigned char chr() const
Key symbol(unsigned char c, std::uint64_t j)
static const size_t chrBits
void print(const std::string &s="") const
Print.
const gtsam::Symbol key('X', 0)
To use the key_formatter on Keys, they must be wrapped in a StreamedKey.
static const size_t keyBits
std::uint64_t Key
Integer nonlinear key type.
static LabeledSymbol make(gtsam::Key key)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:05:21