On Mon, 28 Oct 2024 at 15:06, Andrew Nelson wrote:
> Hi all,
> is there a canonical way of serialising Generators
>
Specifically I'm interested in a safe way (i.e. no pickle) of
saving/restoring Generator state via HDF5 file storage.
___
NumPy-Discussi
Hi all,
is there a canonical way of serialising Generators (not via pickle). Would
the following be reasonable for saving and restoring state:
```
def serialize_rng(rng):
klass = rng.bit_generator.state['bit_generator']
entropy = rng.bit_generator.seed_seq.entropy
return klass, entropy
>
> I made the second PR for full wheel with openblas. It is reviewed, but
> rejected as solution with linaro built openblas is not good enough, so I am
> investigating alternate options for cross compiling openblas.
> While I am working on this I have one question about the wheel without
> OpenBLA
On Wed, 2 Oct 2024 at 22:09, Usha Gayatri via NumPy-Discussion <
numpy-discussion@python.org> wrote:
> I am working on a Jupyter notebook in Anaconda Navigator. I have done some
> projects in 2021, 2022,2023 and 2024. When I run my old project which was
> created in 2021. it is giving errors.I am
On Fri, 20 Dec 2024 at 18:23, Andrew Nelson wrote:
> Wow, that would be a pretty serious optimization bug to override Kahan
>> summation. Are you speaking of some theoretical future version of the
>> interpreter, or of the current state of things?
>>
>
> I just wanted to know how the current inte
>
> Wow, that would be a pretty serious optimization bug to override Kahan
> summation. Are you speaking of some theoretical future version of the
> interpreter, or of the current state of things?
>
I just wanted to know how the current interpreter worked.
_
Thanks for everyone's help, I'll look into those links matti.
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python
Hi all,
Let's assume we have two float arrays, `x0` and `h`, both of which have the
same shape. Let's calculate the sum of those two arrays:
```
x1 = x0 + h
```
The true representable difference between `x1` and `x0` is:
```
dx = x1 - x0
```
Is it also possible to get that exact representation
On Wed, Apr 30, 2025, 08:41 Charles R Harris via NumPy-Discussion <
numpy-discussion@python.org> wrote:
> Just thought I'd pass this along for discussion.
>
> Chuck
>
> -- Forwarded message -
> From:
> Date: Tue, Apr 29, 2025 at 4:09 PM
> Subject: Research Opportunity: Can we moni
On Fri, 13 Jun 2025 at 16:43, Ralf Gommers via NumPy-Discussion <
numpy-discussion@python.org> wrote:
>
> For 2FA and repository/PyPI access, we'll start making changes soon. Note
> that GitHub has recently made changes to its 2FA settings that ask for
> action from many people: on https://github.
10 matches
Mail list logo