Implements a matrix which can be backed by a memory- or file-based array.