# Maharshi's blog

submited by
Style Pass
2024-07-29 15:00:05

This is a series of blog posts that will let you understand what exactly are Tensors, and how you can too implement them from scratch in C. I will be going from basic definitions, illustrations, and explanations to the actual code implementation in this series.

This number x is just a value and it is "dimensionless" i.e. we cannot attach any arrows to this number in the sense that tells us what this number is made up of. We call numbers like this Scalars. The dimensionality of a scalar is 0.

This list of numbers is made up of values that go from 33, 2, 5, and so on. This list of numbers has a "dimension" i.e. we can attach an arrow → to this list that starts from the first value until it reaches the end of the list. We call lists of numbers like this Vectors. The dimensionality of a vector is 1.

This list of list of numbers is made up of n lists (each containing some values). This list of list of numbers has "dimensions" as you might have guessed i.e. we can attach exactly two arrows: an arrow → for the values in each list inside, and an arrow ↓ for each list that makes up the big list. We call a list of list of numbers like this Matrices. The dimensionality of a matrix is 2.