#include "Algorithm.hh" #include "properties/AntiSymmetric.hh" using namespace cadabra; AntiSymmetric::~AntiSymmetric() { } std::string AntiSymmetric::name() const { return "AntiSymmetric"; } unsigned int AntiSymmetric::size(const Properties&, Ex&, Ex::iterator) const { return 1; } TableauBase::tab_t AntiSymmetric::get_tab(const Properties& pr, Ex& tr, Ex::iterator it, unsigned int num) const { assert(num==0); const AntiSymmetric *pd; for(;;) { pd=pr.get(it); if(!pd) it=tr.begin(it); else break; } tab_t tab; for(unsigned int i=0; i