file
Complex.hdeclares the category of complexes over a category, such as the Bar-Natan algebra from [4] or the universal cobordism category from [1]
Classes
-
template<typename Obj, template<typename> typename Mor, typename Coeff>class Complex
- generic child of Complex_
Base -
template<typename Coeff>class Complex<BNObj, BNMor, Coeff>
- Specialization of Complex to the Bar-Natan algebra (BNAlgebra.h)
-
template<typename Coeff>class Complex<CobObj, CobMor, Coeff>
- Specialization of Complex to the cobordism category (Cob.h)
-
template<typename Obj, template<typename> typename Mor, typename Coeff>class Complex_Base
- base class for complexes
Functions
-
template<typename Mor>auto NonZero(const Eigen::Index& row, const Eigen::Index& col, const Mor& value) -> bool
- true if the component of the Eigen matrix is non-zero; needed by the Eigen Template Library
-
template<typename Obj, template<typename> typename Mor, typename Coeff>auto to_coeff(const Complex<Obj, Mor, Z_
mod<integer_ simulant>>& cx) -> Complex<Obj, Mor, Coeff> - converts a complex over the integers to a complex over the new ring of coefficients specified by 'New_Coeff'