An example of python list rotation matrix
- 2020-12-07 04:07:17
- OfStack
As shown below:
<pre name="code" class="python">#list Transformation matrix, matrix column merge
x = [[1.2,2.2,1.4],[1.3,2.4,2.1],[1,1,0]] # Said a 3 One point, the first 1 A point to (1,2,1,3) A type of 1
# Convert it to a matrix, each 1 Line said 1 The information of the dot
m = np.array(x).T
print m