User Tools

Site Tools


appunti3s:numpy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
appunti3s:numpy [2020/07/17 07:08] profproappunti3s:numpy [2020/08/02 17:27] (current) profpro
Line 25: Line 25:
 e = np.ones((3, 4)) e = np.ones((3, 4))
 del e    # libera la memoria del e    # libera la memoria
 +
  
 </file> </file>
Line 37: Line 38:
   c[0:2, 1]   c[0:2, 1]
   c[:,1]     # equivalente   c[:,1]     # equivalente
 +
 +
 +(Per una matrice 2D, quando si richiama un elemento, è del tipo nome[riga,colonna])
 +
  
 ==Iterazione== ==Iterazione==
appunti3s/numpy.txt · Last modified: 2020/08/02 17:27 by profpro