powered by
$ f(x) = \frac{1}{2} \cos( \frac{ \sqrt() }{\sqrt(d)p\pi} ) \exp( \frac{ || x ||^2 - }{d} ) $ with $v = \frac{\mathbf{1}}{\sqrt(d)} $the unit length digonal vector .
data(diagonal) d <- diagonal() d <- diagonal(d = 3, p = 4, N=2000)
Run the code above in your browser using DataLab