先生成互相无关的两个[0,1]区间随机数
然后:
生成2000个点一看,确实如此。这里固定了径矢
![22e934160eaef3545dfbd1199ee7af3b.png](https://i-blog.csdnimg.cn/blog_migrate/17f502feca2555ee863eaacd7b1ed392.jpeg)
更多的讲解看这里:
How to generate uniformly random points on n-spheres and in n-ballsextremelearning.com.au![3c3f7c6518be11dbdff66cff2739146f.png](https://i-blog.csdnimg.cn/blog_migrate/abb32e592d72d2bbb3765918c8727189.png)
相关文献:
Y. Tashiro, Ann. Inst. Statist. Math. 29 (1977), Part A, 295-300
![92357689d091133efb2196d89ea3217c.png](https://i-blog.csdnimg.cn/blog_migrate/cba369e456915f6e8ac89e232bc07f2f.jpeg)
H+H2散射计算中,以此生成(v=0,j=0)初态。