[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generating "independent" random numbers
From: |
Mikael Djurfeldt |
Subject: |
Re: Generating "independent" random numbers |
Date: |
Wed, 18 Oct 2023 21:08:55 +0200 |
On Wed, Oct 4, 2023 at 12:22 AM Zelphir Kaltstahl <
zelphirkaltstahl@posteo.de> wrote:
> Aye, sorry for that typo. Yes, my goal is normal distributed floats
> (leaving
> aside the finite nature of the computer and floats).
>
Maybe I'm missing something from just skimming this long discussion, but
what about
(random:normal)
(at the guile prompt)?
That's a distribution centered at 0 with sigma 1. I assume you know how to
shift it and scale it. If you're curious how to get it from a uniform
distribution, have a look at libguile/random.c.
Best regards,
Mikael
- Re: Generating "independent" random numbers, (continued)
- Re: Generating "independent" random numbers,
Mikael Djurfeldt <=