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...
-
LIVE
The Bubba Army
2 days agoF1'S NEWEST DRIVER? - Bubba the Love Sponge® Show | 11/24/25
1,626 watching -
19:15
Nikko Ortiz
20 hours agoOstrich Gets A Taste For Human Blood
55.2K16 -
32:42
MetatronHistory
1 day agoWas FASCISM Left wing or Right wing?
9.01K32 -
LIVE
Flex011
5 hours ago $0.01 earnedFrom Scrap to Stronghold: Our Base is Live!
83 watching -
9:52
MattMorseTV
14 hours ago $15.43 earnedTrump just GAVE the ORDER.
18.7K53 -
LIVE
PudgeTV
1 hour ago🟣 Arc Raiders - Gaming on Rumble | Monday Madness
53 watching -
LIVE
Max
7 hours agoMax Streaming
48 watching -
2:13:31
The Connect: With Johnny Mitchell
1 day ago $24.28 earnedIs Garth Brooks A Serial Killer? Exposing The Dark Secrets Of Country Music's Biggest Star
36.1K19 -
LIVE
Phyxicx
11 hours agoBack to FF8 - Let's actually play the story now! - 11/23/2025
77 watching -
19:19
GritsGG
16 hours agoINSANE Trio Match! Most Winning Warzone Player IGLs to Victory!
14.6K1