Tmp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<font size=-2> | <font size=-2> | ||
a = np.array([[ | a = np.array([[A, B, C, D], [E, F, G, H], [I, J, K, L]]) | ||
Axis 1 | Axis 1 | ||
┌───────────────────────────▶ | ┌───────────────────────────▶ | ||
│ 0 1 2 3 | │ 0 1 2 3 | ||
│ | │ ┌─────┬─────┬─────┬─────┐ | ||
│ a<sub>0</sub> 0 │ | │ a<sub>0</sub> 0 │ A │ B │ C │ D │ | ||
│ │ a<sub>0,0</sub>│ a<sub>0,1</sub>│ a<sub>0,2</sub>│ a<sub>0,3</sub>│ | │ │ a<sub>0,0</sub>│ a<sub>0,1</sub>│ a<sub>0,2</sub>│ a<sub>0,3</sub>│ | ||
│ ├─────┼─────┼──── │ | │ ├─────┼─────┼──── │ |
Revision as of 23:57, 20 May 2024
a = np.array([[A, B, C, D], [E, F, G, H], [I, J, K, L]]) Axis 1 ┌───────────────────────────▶ │ 0 1 2 3 │ ┌─────┬─────┬─────┬─────┐ │ a0 0 │ A │ B │ C │ D │ │ │ a0,0│ a0,1│ a0,2│ a0,3│ │ ├─────┼─────┼──── │ │ Axis 0 │ 1 50 60 70 80 │ │ 2 90 100 110 120 │ ▼