Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matruzen rechner python

>>> x = np.array([1,5,2])
>>> y = np.array([7,4,1])
>>> x + y
array([8, 9, 3])
>>> x * y
array([ 7, 20,  2])
>>> x - y
array([-6,  1,  1])
>>> x / y
array([0, 1, 2])
>>> x % y
array([1, 1, 0])
Source by www.python-kurs.eu #
 
PREVIOUS NEXT
Tagged: #matruzen #rechner #python
ADD COMMENT
Topic
Name
1+2 =