Skip to main content

fractional_matrix_power

Function fractional_matrix_power 

Source
pub fn fractional_matrix_power<T: Scalar, S: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
    p: f64,
) -> Result<Array2<Complex<f64>>>
Expand description

A^p = exp(p log A) for real p (SciPy’s fractional_matrix_power, by this route rather than its Schur-Padé algorithm).