Timeline for Optimization of custom probability distibutions?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2016 at 5:29 | comment | added | ciao | Do you really require them one at a time? Is the distribution changing between calls (only real reason I can think of that would need singlets)? Otherwise, produce them in bulk, will be orders of magnitude faster. | |
Apr 13, 2016 at 5:19 | history | edited | J. M.'s missing motivation♦ |
edited tags
|
|
Apr 24, 2015 at 19:54 | comment | added | Bob Hanlon |
@JeffDror - You are correct. I though I had tried RandomVariate with the custom distribution but in a new session it worked fine.
|
|
Apr 24, 2015 at 16:45 | comment | added | JeffDror | @BobHanlon, You are right about the missing underscores, thanks. This was a typo. However, RandomVariate does work with custom distributions (at least in v10). Feel free to try it yourself.... | |
Apr 24, 2015 at 16:43 | history | edited | JeffDror | CC BY-SA 3.0 |
added 2 characters in body
|
Apr 24, 2015 at 16:16 | comment | added | Bob Hanlon |
The LHS of your definition should read MyNormalDistribution[mu_, sig_] Without the patterns, MyNormalDistribution[0.5, 0.3] is undefined. Even after this correction, RandomVariate[MyNormalDistribution[0.5, 0.3]] does not return a value. RandomVariate only works with the built-in distributions. You would need to define an upvalue for MyNormalDistribution to have RandomVariate work.
|
|
Apr 24, 2015 at 14:58 | comment | added | dr.blochwave | In particular question #1124 | |
Apr 24, 2015 at 14:56 | comment | added | dr.blochwave | Related questions: (1124), (20067), (56180), (75303) | |
Apr 24, 2015 at 14:55 | history | edited | dr.blochwave | CC BY-SA 3.0 |
Tags and title
|
Apr 24, 2015 at 14:47 | history | asked | JeffDror | CC BY-SA 3.0 |