I know that $[\frac {d^2}{dx^2}]\psi$ is $\frac {d^2\psi}{dx^2}$ but what about this one $[\frac {d^2\psi}{dx^2}]\psi^*$? Is it this like $\frac {d^2\psi\psi^*}{dx^2}$ or this like $\frac {\psi^*d^2\psi}{dx^2}$?
And what about this one $[\frac {d^2\psi}{dx^2}]\phi$?