Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

Smart way to create matrix in Python
2 years ago
21
Matrix
Python matrix
NumPy
Smart matrix
Isomorphic matrix
Script
Function
Functions
Square matrix
Square matrices
List
This video shows you how to create square matrices in Python using normal lists and NumPy.
Using NumPy has the advantage to reduce the amount of code when working with matrices.
Matrices are called multidimensional arrays in NumPy.
0:00 Intro
0:34 Recap: list data structure
1:12 Nested lists
1:31 Limitations of lists
1:45 NumPy
2:00 Python script: main function
4:04 The `gen_matrix` function
4:59 The `matrix_set` function
5:16 the `tolist` method
5:45 Outtro
#python #matrix #numpy #functions #programming
Loading comments...
-
35:54
The Mel K Show
6 hours agoMel K & Tim James | Healing is an Inside Job | 9-14-25
45.8K4 -
3:06:33
IsaiahLCarter
9 hours ago $5.19 earnedCharlie Kirk, American Martyr (with Mikale Olson) || APOSTATE RADIO 028
58.7K7 -
16:43
Mrgunsngear
13 hours ago $4.65 earnedKimber 2K11 Pro Review 🇺🇸
36.9K13 -
13:40
Michael Button
1 day ago $1.89 earnedThe Strangest Theory of Human Evolution
37K17 -
10:19
Blackstone Griddles
1 day agoMahi-Mahi Fish Tacos on the Blackstone Griddle
26.1K3 -
23:51
Jasmin Laine
1 day ago“Stop Wasting My Time!”—Trump's BRUTAL WARNING To Canada As Poilievre ROASTS CBC LIVE
20.1K28 -
9:54
Millionaire Mentor
1 day agoNBC Host EXPOSES JB Pritzker For Saying This About Trump
12.8K10 -
1:35:39
SB Mowing
2 days agoIt took the WHOLE NEIGHBORHOOD to uncover this yards SHOCKING SECRET
96.6K63 -
12:52
ROSE UNPLUGGED
1 day agoFrom Vision to Legacy: Charlie Kirk
61.1K22 -
1:14:22
Jeff Ahern
10 hours ago $12.21 earnedThe Sunday Show with Jeff Ahern
86.5K38