Hello everyone, is there a way to compute the k-th power of a matrix in a symbolic way? For example if the matrix is [2, 0, 0], [0, 2, 0], [-1, 0, 3] it should return [2^k, 0, 0], [0, 2^k, 0], [2^k-3^k, 0, 3^k]. Thank you. Michele