Solution (source code)

= Solution

A <tensor> of rank $n$ is a multilinear map of $n$ <vector> or covector arguments, equivalently an element of an $n$-fold tensor product. In components it obeys one change-of-basis factor for each of its $n$ indices.