[Numpy-discussion] Square All Elements Of A Matrix

Anthony Joseph Seward anthony.seward at ieee.org
Fri May 13 10:39:18 EDT 2005


What is the value of sys.version?

For me running the attached script yields:

Fedora 3:

Python version: 2.3.4 (#1, Feb  2 2005, 12:11:53)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
           *:   0.381051
         **2:   1.31382
         **3:   1.198
       **0.5:   1.67896
      sqrt():   0.357029
    exp(log):   1.2737
  exp(2*log):   2.17751
 exp(.5*log):   2.19792

Win2k on vmware 5 under Fedora 3
  Python version: 2.3.3 (#51, Feb 16 2004, 04:07:52) [MSC v.1200 32 bit
(Intel)]
           *:   0.391
         **2:   1.468
         **3:   1.547
       **0.5:   1.469
      sqrt():   0.437
    exp(log):   1.672
  exp(2*log):   2.718
 exp(.5*log):   2.734

Odd.

andrea_gavana at tin.it said:
> Hello Tony,
>
>>What compiler are you using to build Numeric and Python?
>
> No compiler for Python or Numeric. For Python, I use the binaries that you
> can find at www.python.org. I don't have any idea which compiler they have
> used. For Numeric, I downloaded the binaries that you can find at
> SourceForge.
>
> Python 2.3.4/2.3.5, Numeric 23.8/23.7, Windows XP/2000
>
> Andrea.
>
>
>
>
>


-- 
ajs: anthony.seward at ieee.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numeric-stats.py
Type: application/x-python
Size: 1056 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20050513/8b127dbf/attachment.bin>


More information about the NumPy-Discussion mailing list