Home projects readings blog about

Arrays Functions

Published on Tuesday, 23 January, 2018 Python Basics

Array Functions using Numpy

Let's use numpy now. Let's create an array of ones.

a = np.ones(10)

Let's build a random array of integers.

b = np.random.randint(10)

Math Operations

Addition & Subtraction

Multiplication

Matrix Multiplication