
Coding ASMR Lo-fi | coding a matrix multiplication program in Java
This is a lo-fi ASMR coding video of me writing a program of Java that involves multidimensional arrays (2d arrays) and manipulating the values within these arrays with other 2d arrays.
The Java program I try to code is an add-on to the previous program from my last video, where this time I code a method that multiplies two matrices (2d arrays) in Java to form a new matrix. The matrix multiplication program follows the rules in multiplying matrices in linear algebra where some conditions must be met in order for matrix multiplication to happen.
Keep in mind that this was coded from scratch and that I have made a ton of errors along the way in the coding process. After all, I managed to kinda succeed at the end.
Note that the code was modified in the source code. Some code you saw on the video have been modified for instance the 3-level nested loop (oof!) was refactored with a helper method for the dot product.
I make typing noises as well as whisper for ASMR triggers. I do not have a high tech mic unfortunately so I just use my built-in microphone on my device to start with.
Previous video (ASMR coding matrix addition/sub):
https://youtu.be/tKFut16nqHo
Pastebin source code:
https://pastebin.com/eQ5hB0Tu
VIDEO CHAPTERS:
[0:00] Intro
[1:23] Coding/typing sounds begin
[1:44] multiplyMatrixAandB() , part 1
[14:54] figuring out a pattern for the loop
[24:12] for loop for dot product for an entry of resulting matrix
[30:30] outer for loops for column and row calculations
[39:00] testing and debugging
[53:50] running my program
[54:21] conclusion