Python - how to get only the real part of a complex number

后端 未结 0 1705
小鲜肉
小鲜肉 2021-01-01 15:50

I have the following code snippet, where the np.roots function will provide two complext numbers and one real number. I was able to extract the real root, however the output

相关标签:
回答
  • 消灭零回复
提交回复
热议问题