是否有可能使用numpy的linalg.matrix_power与模数,因此元素不会增长大于某个值?
python matrix exponent modulo
exponent ×1
matrix ×1
modulo ×1
python ×1