MathJax has been enabled on our site!
That means we can have actual fancy mathematical equations expressed as such without resorting to pseudocode, uneditable \$\LaTeX\$ screenshots, etc. MathJax is derived from LaTeX, but not exactly equal to it. (It's generally off topic on TeX Stack Exchange.)
What's this do?
Basically, we can fancify our equations:
$$ E = mc^2 $$
We can wrap our equations in \$ ... \$
(for an inline equation: \$c^2 = a^2 + b^2\$), or if we want it to take up its own lines or be multiline we can use the $$ ... $$
delimiters instead.
This also lets us write equations with some significant visual complexity:
$$ \begin{align} \vec{v} &= \begin{pmatrix} x \\ y \\ z \end{pmatrix} \\ \vert{\vec{v}}\vert &= \sqrt{x^2 + y^2 + z^2} \end{align} $$
The rule of thumb is that LaTeX makes extremely complex stuff simple, and extremely simple stuff complex. :)
References are available here:
- MathJax basic tutorial and quick reference
- Game Development MathJax Cookbook — a game development-specific MathJax guide created by the community focusing on the most common parts of our domain.