Markdown & GitHub Sample from a weighting function $$w(\mathbf{x})$$, where the normalised form (note $$w(\mathbf{x})>0$$) is a valid PDF $$w(\mathbf{x})$$$$w(\mathbf{x})$$ $$w(\mathbf{x})$$