[Numpy-discussion] simple vector->matrix question

Neal Becker ndbecker2 at gmail.com
Thu Oct 6 08:08:15 EDT 2011


Given a vector y, I want a matrix H whose rows are

y - x0
y - x1
y - x2
...


where x_i are scalars

Suggestion?




More information about the NumPy-Discussion mailing list