关于python中的复数

1.表示复数的语法是real + image j

2.实部和虚部都是浮点数

3.虚部的后缀可以是 “j” 或者 “J”

4.复数的 conjugate 方法可以返回该复数的共轭复数。

详情:https://docs.python.org/2/library/stdtypes.html#numeric-types-int-float-long-complex

https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex

posted @ 2018-10-18 10:44  Misakikure  阅读(14778)  评论(0编辑  收藏  举报