This video continues the “Matrix Math” series where I attempt to implement in JavaScript the math operations required for a simple neural network library. In this 3rd part, I implement matrix multiplication (“matrix product”).

Next Video:

This video is part of Chapter 10 of The Nature of Code (

This video is also part of session 4 of my Spring 2017 ITP “Intelligence and Learning” course (

Support this channel on Patreon:
To buy Coding Train merchandise:
To support to the Processing Foundation:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
The Nature of Code:
Session 4 of Intelligence and Learning:
3Blue1Brown’s Essence of Linear Algebra:
Hadamard product (matrices) on Wikipedia:

Videos mentioned in this video:
Vector Dot Product:

Source Code for the all Video Lessons:


The Nature of Code playlist:
For More Coding Challenges:
For More Intelligence and Learning: