Efficient formulation and computer implementation of the active-space electron-attached and ionized equation-of-motion coupled-cluster methods | Synapse