DECOMPOSITION
fractional_matrix_power
Compute the fractional power of a matrix.
Example of usage
Factorise a labelled industrial sensor calibration matrix and verify reconstruction.
Usage / limitations
+Use when: Compute fractional transformations of system matrices.
−Limitations: Matrix shape, symmetry, conditioning and numerical precision constrain validity.
Mathematical formula
Aᵖ defined using matrix functions.
Sample dataShow
{
"variable": "measurement_matrix",
"domain": "Industrial sensor calibration",
"feature_names": [
"temperature_c",
"vibration_mm_s"
],
"matrix": [
[
4.0,
0.0
],
[
0.0,
9.0
]
]
}
Code example (Python)
# DataLens.ai sample data — industrial sensor calibration
import numpy as np
A = np.diag([4., 9.])
# DataLens.ai example
# Factorise the named two- or three-sensor calibration matrix.
from scipy.linalg import fractional_matrix_power
result = fractional_matrix_power(A, 0.5)
assert np.allclose(result @ result, A)
print("Expected output verified")
# DataLens.ai example
# Factorise the named two- or three-sensor calibration matrix.
from scipy.linalg import fractional_matrix_power
result = fractional_matrix_power(A, 0.5)
assert np.allclose(result @ result, A)
print("Expected output verified")