Suppose I know the position or momentum basis representation $X$ of some operator $\hat{X}$ acting on the ket space. Likewise of $\hat{P}, \hat{A}, \hat{B}, ...$
Is the basis representation of $F(\hat{X}, \hat{P}, \hat{A}, \hat{B},..)$ just $F(X, P, A, B,..)$?