bool syten::STensorImpl::SBasis::hasSymmetry | ( | Sector const & | sec | ) | const |
Returns true if this basis contains the specified sector.
References std::unordered_map< K, T >::count(), and sectors.
Referenced by syten::STensorImpl::combine_bases(), and syten::Pyten::init_stensor().