In [4]:
import numpy as np
a1 = np.arange(0,11)
In [2]:
a1
Out[2]:
In [5]:
a1+a1
Out[5]:
In [6]:
a1*a1
Out[6]:
In [7]:
a1**a1
Out[7]:
In [9]:
a1**4
Out[9]:
In [10]:
1/a1
Out[10]:
In [11]:
1/0
In [12]:
a1.sum()
Out[12]:
In [13]:
np.sum(a1)
Out[13]:
In [14]:
a1.min()
Out[14]:
In [15]:
a1.max()
Out[15]:
In [16]:
a1.sin()
In [17]:
np.sin(a1)
Out[17]:
In [18]:
np.sqrt(a1)
Out[18]:
No comments:
Post a Comment