I'm trying to use numpy.linalg.lstsq to solve following homogenous system with following constraint:
Ax = 0
|x| = 1
If I just purely call:
numpy.linalg.lstsq(A, np.zeros((A.shape[0],1), dtype=np.float))
The solution would be a zero column matrix. I wonder how to create the |x|=1 constraint so that I would get a different solution rather than a zero matrix.
Thanks.