Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Re:Too bad it wasn't SciPy (Score 1) 84

Mostly agree, but NumPy arrays do have slicing (however much you may not like zero-indexed, exclusive-on-the-right indexing):


In [8]: a = np.array([[1,2,3],[4,5,6],[7,8,9]])

In [9]: a[0,:]
Out[9]: array([1, 2, 3])

In [10]: a[0:2,:]
Out[10]:
array([[1, 2, 3],
              [4, 5, 6]])

In [11]: a[0:2,0:2]
Out[11]:
array([[1, 2],
              [4, 5]])

Power

Submission + - Is solar wind the next renewable energy resource? (msn.com)

CmdrTaco writes: "Solar and wind power have long been two of the main contenders in the race to find the next big renewable energy resource. Rather than choosing between the two, scientists at Washington State University have instead combined them."

Slashdot Top Deals

The Macintosh is Xerox technology at its best.

Working...