Guest User

Untitled

a guest
Apr 26th, 2020
56
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2.  
  3. b = np.array([1.0, 0.75, 0.5, 0.25], dtype=np.float32)
  4. a = np.zeros((1001, 4), dtype=np.float32) + b
  5. a[0] = 8E6
  6. print(a.cumsum(axis=0)[-1])
RAW Paste Data