QuizWit

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ QuizWit ] in KIDS
글 쓴 이(By): Killer (타개요자)
날 짜 (Date): 2003년 8월 10일 일요일 오전 09시 21분 50초
제 목(Title): Re: iLU's solution to sherical distribut


given x,y,z <- unif(0,1].
 
(x,y,z) gives uniform distriubtion on a unit cube.
 
now normalized the coordinates such that if
 
r= sqrt(x^2+y^2+z^2) then
 
(x/r,y/r,z/r) is a distribution on a unit sphere.

-----------------------------------------------

틀린거 같은데요.

이렇게 해서야 3좌표가 모두 양수만 나오는 걸요.

조금 수정해 주시죠.
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.