Menu

[r3313]: / trunk / py4science / book / examples / scipy / example2.3  Maximize  Restore  History

Download this file

7 lines (5 with data), 111 Bytes

1
2
3
4
5
>>> x = r_[-2:3]
>>> x
array([-2, -1, 0, 1, 2])
>>> select([x > 3, x >= 0],[0,x+2])
array([0, 0, 2, 3, 4])
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.