In Ruby, I often see people trying to solve all their matrices problems with multidimensional arrays, sometimes resorting to clever tricks to replicate functionality that is already available in the Matrix class, I assume that perhaps it is because this class is less known to them. Let’s see some of the basic functionality that it is available to us. Creating a matrix The Matrix class offers a var