I\'m currently working on a function and what I\'m trying to make is a similar function of linalg.matrix_power. The function takes an array and n number to take its power &