Function like np.random.normal()? #1516
Unanswered
LI-explorer
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi, You can warp a uniform sample to a gaussian sample using Box-Muller transformation (e.g., check Best |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a question about Gaussian sampling. I want to generate 100 Gaussian-distributed points for each of 666 groups, ensuring that the points are different across groups. In NumPy, I can achieve this using:
np.random.normal(loc=0, scale=1, size=(666, 100))
Is there a way to implement the same functionality in Mitsuba or DrJit? Any guidance would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions