These are chat archives for numpy/numpy
np.matrix([]) @ np.array(), results in
RuntimeError: Iterator automatic output has an array subtype which changed the dimensions of the output. Is this intentional (e.g. should I instead explicitly cast one operand to the other's type), or could this be a supported operation?
np.matrix's weird hacks. My suggestion would be to stop using
np.matrixis pretty much deprecated and we don't recommend anyone use it.
np.arraythen--I'm not stuck with
np.matrixfor what I'm doing