Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class C():
- def __init__(delf, a, b):
- self.a = a # scalar
- self.b = b # vector of n items
- import numpy as np
- c = np.array([a, b[0], ... , b[n]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement