行向量
import numpy as np
a = np.array(np.arrange(10))
rowVector = a..reshape((1,-1))
列向量
import numpy as np
a = np.array(np.arrange(10))
rowVector = a..reshape((-1,1))
2024-03-13 18:22:21
import numpy as np
a = np.array(np.arrange(10))
rowVector = a..reshape((1,-1))
import numpy as np
a = np.array(np.arrange(10))
rowVector = a..reshape((-1,1))