https://scicomp.stackexchange.com/questions/16219/what-is-a-good-way-to-take-fractional-powers-of-a-matrix-in-matlab
https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.fractional_matrix_power.html
https://math.stackexchange.com/questions/732511/fractional-power-of-matrix
import numpy as np from scipy.linalg import fractional_matrix_power a = np.array([[1.0, 3.0], [1.0, 4.0]]) b = fractional_matrix_power(a, 0.5) alph = 1/2 V,D=np.linalg.eig(a) Aalph = D@np.diag((V**alph))@np.linalg.inv(D) abs(Aalph-b)
京公网安备 11010502049817号