[Numpy-discussion] simple vector->matrix question

Neal Becker ndbecker2@gmail....
Thu Oct 6 07:08:15 CDT 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