I am using text with in aligned environment as
\begin{equation}
\begin{aligned}
\Vert \Vert^2_F&= tr\{()\}\\
&=\Vert\Vert_F^2\\
\shortintertext{which after differentiation gives}
\mathbf{a}&=[]
\end{aligned}
\end{equation}
Things are fine, but the equation number is not aligned in center but at the bottom right to last equality $\mathbf{a}&=[]$.
How to align equation number somewhere middle right of whole equation environment.?