Thank you very much. List comprehensions make code much more concise indeed. Do
list comprehensions also improve the speed of calculations?
From: avi.e.gr...@gmail.com
Sent: Friday, July 12, 2024 6:57 PM
To: Popov, Dmitry Yu ; 'Popov, Dmitry Yu via Python
, Dmitry Yu via Python-list
Sent: Thursday, July 11, 2024 2:25 PM
To: avi.e.gr...@gmail.com ; 'Popov, Dmitry Yu via
Python-list'
Subject: Re: Relatively prime integers in NumPy
Thank you for your interest. My explanation is too concise indeed, sorry. So
far, I have used Python code
vely prime integers h,k,l pass to this
block of the code
From: avi.e.gr...@gmail.com
Sent: Thursday, July 11, 2024 1:22 PM
To: Popov, Dmitry Yu ; 'Popov, Dmitry Yu via Python-list'
Subject: RE: Relatively prime integers in NumPy
Дмитрий, You may think you explained what you
Dear Sirs.
Does NumPy provide a simple mechanism to identify relatively prime integers,
i.e. integers which don't have a common factor other than +1 or -1? For
example, in case of this array:
[[1,5,8],
[2,4,8],
[3,3,9]]
I can imagine a function which would return array of common factors alon
Thank you.
From: Larry Martell
Sent: Wednesday, May 15, 2024 1:55 PM
To: Popov, Dmitry Yu
Cc: Popov, Dmitry Yu via Python-list
Subject: Re: Version of NymPy
On Wed, May 15, 2024 at 2: 43 PM Popov, Dmitry Yu via Python-list wrote: > > What would be the e
What would be the easiest way to learn which version of NumPy I have with my
Anaconda distribution?
--
https://mail.python.org/mailman/listinfo/python-list
Thank you!
From: Python-list on behalf of
Greg Ewing via Python-list
Sent: Wednesday, May 8, 2024 3:56 AM
To: python-list@python.org
Subject: Re: Use of statement 'global' in scripts.
On 8/05/24 1: 32 pm, Popov, Dmitry Yu wrote: > The statement 'global',
indic
Dear Sirs.
The statement 'global', indicating variables living in the global scope, is
very suitable to be used in modules. I'm wondering whether in scripts, running
at the top-level invocation of the interpreter, statement 'global' is used
exactly the same way as in modules? If there are any d