79537521

Date: 2025-03-26 23:54:07
Score: 1.5
Natty:
Report link

you could just do this

import numpy as np

a = np.linspace(-2.5, 2.5, 6, endpoint=True)
c = np.array([2, 1])
result = (a[:, np.newaxis] * c)
print(result)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ayman belqadi