BNObj class
#include <sources/headers/BNAlgebra.h>
object of the Bar-Natan algebra
An object consists of an idempotent, a homological grading, and a quantum grading.
Constructors, destructors, conversion operators
Public functions
- auto get_delta() const -> Q
- δ-grading.
- auto get_h() const -> Grading
- homological grading
- auto get_idem() const -> Idem
- idempotent
- auto get_q() const -> Grading
- quantum grading
-
auto gr_string(const max_
gr_ str& max_gr = {}) const -> std::string - string representation of grading
- auto operator!=(const BNObj& obj2) const -> bool
- true if idempotents differ (ignore gradings)
- auto operator==(const BNObj& obj2) const -> bool
- true if idempotents coincide (ignore gradings)
- void print() const
- print string representation of generator in terminal
- void set_h(const Grading& new_h)
- set homological grading
- void set_q(const Grading& new_q)
- set quantum grading
- void shift_hq(const Grading& h_shift, const Grading& q_shift)
- shift gradings
- auto to_string(const bool& with_grading = true) const -> std::string
- string representation of generator
- auto to_svg(const bool& with_grading = true) const -> std::string
- string representative of a cobordism object for svg file
- auto to_TeX() const -> std::string
- TeX representation of generator.