State Space Models are Comparable to Transformers in Estimating Functions with Dynamic Smoothness | Synapse