A matrix is represented as a list of lists. Matrices are represented in the "row-major" order: a matrix is a list of rows, and each row is a list of its elements. Some basic linear algebra operations on matrices are supported. See also: Determinant , Identity , IsDiagonal , EigenValues .