What do you want to learn from the foundation of 3D mathematics?
Linear algebra, including what you call arrays, two-dimensional and three-dimensional matrices. In addition, some coordinate systems and functions of analytic geometry should also be used more. It should be enough to have these mathematical foundations. I think other key points should be coded in the background. MAXScript of 3D MAX or binding model of other languages, such as C++.