📜  ComplexWarning:将复数转换为实数会丢弃虚部 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:38.673000             🧑  作者: Mango

代码示例1
# you need to ensure your numpy matrix allows for complex numbers
mat__ = np.zeros((k*nboxes,k*nboxes),dtype = 'complex_')