慢慢有感觉。。
截几个图看看。
import numpy as np np.random.seed(42) complex_numbers = np.random.random(5) + 1j * np.random.random(5) print "Complex numbers\n", complex_numbers print "Sorted\n", np.sort_complex(complex_numbers)
时间: 2024-10-11 17:45:08
慢慢有感觉。。
截几个图看看。
import numpy as np np.random.seed(42) complex_numbers = np.random.random(5) + 1j * np.random.random(5) print "Complex numbers\n", complex_numbers print "Sorted\n", np.sort_complex(complex_numbers)