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...
-
59:58
Man in America
11 hours agoHow Big Pharma Turned Cancer Into a TRILLION-DOLLAR Business
351K39 -
9:11:52
SpartakusLIVE
9 hours ago#1 Solo Savant stream DEEP into the night || PUBG Later Tonight?!
73.4K5 -
13:56
Clintonjaws
14 hours ago $33.57 earnedEntire Room Speechless As Poilievre Snaps & Puts TV Hosts In Their Place
49.5K25 -
4:23:32
EricJohnPizzaArtist
1 day agoAwesome Sauce PIZZA ART LIVE Ep. #67: HALLOWEEN SPECIAL tribute to “Need to Breathe”
59.7K14 -
2:26:26
Nerdrotic
10 hours ago $52.95 earned3I/Atlas : A Cosmic Horror or a New Interstellar Understanding? | Forbidden Frontier #122
209K18 -
54:56
Sarah Westall
8 hours agoHidden Biblical Writings: Evidence Based Investigation, Worlds First Collection w/ Matthew McWhorter
33.4K26 -
3:08:48
megimu32
7 hours agoOTS: Great Scott! How Back to the Future Changed Movies Forever
36.7K9 -
3:40:15
CassaiyanGaming
7 hours ago🟢LIVE - The OUTLAST Trials with JahBless & CatDog
26K5 -
10:54
Nate The Lawyer
2 days ago $18.50 earnedNEW Charges & Lawsuit For Fake Doctor Illegal Who Ran Schools For Decades
56.1K48 -
2:34:44
Joker Effect
6 hours agoSTREAMER NEWS: Adin Ross, LupLupka, SideScrollers, N3on, TrainwrecksTv, Cuffem, WestCol, BottedWTF.
26.2K14