.
Matrices A matrix is a two-dimensional tensor. It’s an array of numbers arranged in rows and columns. Matrices are often used to represent transformations, systems of equations, and more. # Matrix in Python matrix = np.array([[1, 2], [3, 4], [5, 6]]) Higher-Dimensional Tensors Tensors can have more