Re: Normal distribution random numbers

2020-05-30 Thread Zelphir Kaltstahl
Hi Arne! Thanks for the pointers! On 5/30/20 11:30 PM, Arne Babenhauserheide wrote: > Hi Zelphir, > > Zelphir Kaltstahl writes: >> Then I thought: How would I get normal distributed random numbers? I >> don't have a project or program in mind for this, but it struck me, that >> I do not know, ho

Re: Normal distribution random numbers

2020-05-30 Thread Arne Babenhauserheide
Hi Zelphir, Zelphir Kaltstahl writes: > Then I thought: How would I get normal distributed random numbers? I > don't have a project or program in mind for this, but it struck me, that > I do not know, how to get a normal distribution from a uniform > distribution. So I dug into the matter … … > S

Re: Running guile single-threaded?

2020-05-30 Thread Ludovic Courtès
Hi, Matt Wette skribis: > On 5/17/20 8:27 AM, Caleb Ristvedt wrote: >> I'm trying to use unshare() with the CLONE_NEWUSER flag, but this >> requires that the process be single-threaded (otherwise I always get >> EINVAL). /proc//task has 6 entries when I launch guile, 5 >> after disabling automat

Re: Normal distribution random numbers

2020-05-30 Thread Zelphir Kaltstahl
I just realized, that I did not check what Guile implements as non-SRFIs. I found: https://www.gnu.org/software/guile/manual/html_node/Random.html which has `random:normal`! I should have checked that first. Still good to know, what a can of worms normal distribution implementation can be. On 30.0

Normal distribution random numbers

2020-05-30 Thread Zelphir Kaltstahl
Hi Guile Users! I recently wrote a little program involving lots of uniformly distributed random integers. For that I used SRFI-27 and it works fine. Then I thought: How would I get normal distributed random numbers? I don't have a project or program in mind for this, but it struck me, that I do

Re: C programs in Scheme syntax

2020-05-30 Thread Todor Kondić
> I have implemented a GNU Guile extension which compiles array operations to > machine code using LLVM: http://wedesoft.github.io/aiscm/ > I thought you might be interested since your example is an array operation. > > Regards > Jan > > Am 29. Mai 2020 04:23:46 GMT+01:00 schrieb Keith Wright k