google-deepmind / torch-randomkit

Provides and wraps the Randomkit library, copied from Numpy.
BSD 3-Clause "New" or "Revised" License
34 stars 25 forks source link

Uniformize cauchyRand() and standard_cauchy() #18

Closed jucor closed 11 years ago

jucor commented 11 years ago
t7> return randomkit.cauchyRand()
...Softwares/torch4nfq/share/torch/lua/randomkit/cauchy.lua:18: Not implemented
stack traceback:
    [C]: in function 'error'
    ...Softwares/torch4nfq/share/torch/lua/randomkit/cauchy.lua:18: in function <...Softwares/torch4nfq/share/torch/lua/randomkit/cauchy.lua:17>
    [C]: at 0x010f10f400
t7> return randomkit.standard_cauchy()
0.21186839881019
jucor commented 11 years ago

Obsolete now that we have torch-distributions.