# Closed form of $\sum_{k=0}^{\infty}r^{k^2}$

Is there a known closed form for the sum $\sum\limits_{k=0}^{\infty}r^{k^2}$?

$(\theta_3(0,r)+1)/2$ where $\theta_3$ is a Jacobi theta function.