def _make_complex_eigvecs(w, vin, dtype):
<EOL>v = numpy.array(vin, dtype=dtype)<EOL>m = (w.imag > <NUM_LIT:0>)<EOL>m[:-<NUM_LIT:1>] |= (w.imag[<NUM_LIT:1>:] < <NUM_LIT:0>)  <EOL>for i in flatnonzero(m):<EOL><INDENT>v.imag[:,i] = vin[:,i+<NUM_LIT:1>]<EOL>conj(v[:,i], v[:,i+<NUM_LIT:1>])<EOL><DEDENT>return v<EOL>
Produce complex-valued eigenvectors from LAPACK DGGEV real-valued output