Difference between revisions of "NumericPython"

From SourceWiki
Jump to navigation Jump to search
m (Protected "NumericPython" [edit=sysop:move=sysop])
Line 7: Line 7:
  
 
<pre>
 
<pre>
From Numeric import *
+
from Numeric import *
 
</pre>
 
</pre>
  

Revision as of 13:48, 21 July 2009

Numeric Python: Some handy array tools

Introduction

Getting Started

from Numeric import *

Arrays

More Interesting

>>> z1 = sqrt(add.outer(arange(-5,10)**2,arange(-7,8)**2))
>>> z = sin(z1)/z1 

How to display?