Using MDX and LaTeX

Testing MDX and Latex.

Code Snippets

import numpy as np

def gaussian(x, mu, sigma):
    return (1.0 / (np.sqrt(2 * np.pi) * sigma)) * \
           np.exp(-((x - mu)**2) / (2 * sigma**2))
#include <iostream>

int main() {
    std::cout << "Hello, World!" << std::endl;
    return 0;
}

Mathematical Equations

We can render beautiful equations using LaTeX\LaTeX. For example, the Gaussian integral:

ex2dx=π\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}

Or the Schrödinger equation:

itΨ(r,t)=H^Ψ(r,t)i\hbar\frac{\partial}{\partial t}\Psi(\mathbf{r},t) = \hat H \Psi(\mathbf{r},t)