The equation for probability density function is:
$$f(x|\mu, \sigma^{2})=(1/(2\pi \sigma^2 ))^{1/2}exp[-(x-\mu)^{2}/2\sigma^{2}]$$
What does the notation $f(x|\mu, \sigma^{2})$ mean? Does it have the same meaning as in conditional probability? And sometimes I'll see $\mu|\sigma^2$ being omitted becoming $f(x)$, or only $\sigma^2$ being omitted becoming $f(x|\mu)$. Does they mean the same?
And what about something like $f(x|a,b,\sigma^2)$ and $f(x|a,b)$?
Anything written after the pipe $\mid$ indicates parameters of the function that are usually held constant for each instance of the function – they can be inferred from context when omitted.
The same notation is found with elliptic integrals and functions: A&S uses $F(\varphi\mid m),\operatorname{sn}(u\mid m)$ and so on, where $m$ is called… the parameter.