sqrtm_parallel

Function sqrtm_parallel 

Source
pub fn sqrtm_parallel<F>(
    a: &ArrayView2<'_, F>,
    maxiter: usize,
    tol: F,
    workers: Option<usize>,
) -> LinalgResult<Array2<F>>
where F: Float + NumAssign + Sum + One + Send + Sync + ScalarOperand + 'static,
Expand description

Compute the matrix square root with parallel processing support.

§Arguments

  • a - Input square matrix
  • maxiter - Maximum number of iterations
  • tol - Convergence tolerance
  • workers - Number of worker threads (None = use default)

§Returns

  • Matrix square root of a