# vector creation
a = np.zeros(4)
print(f"np.zeros(4):a={a},a.shape={a.shape},a data type={a.dtype}")
b = np.zeros((4,))
print(f"np.zeros(4,):b={b},b.shape={b.shape},b data type={b.dtype}")
c = np.random.random_sample(4)
print(f"np.random.random_sample(4):c={c},c shape={c.shape},c data type={c.dtype}")
e = np.arange(4.)
print(f"np.arange(4.): e={e},e.shape={e.shape},e data type={e.dtype}")
f = np.random.rand(4)
print(f"np.random.rand(4): f={f},f.shape={f.shape},f data type={f.dtype}")
m = np.array([5, 4, 3, 2])
print(f"np.array([5,4,3,2]):m={m},m.shape={m.shape},m data type={m.dtype}")
n = np.array([5., 4, 3, 2])
print(f"np.array([5.0,4,3,2]):n={n},n.shape={n.shape},n data type={n.dtype}")