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::zero_expand_sam().