pub fn polar_decomposition_newton<A>(
a: &ArrayView2<'_, A>,
max_iterations: usize,
tolerance: A,
) -> LinalgResult<(Array2<A>, Array2<A>)>
Expand description
Iterative refinement for polar decomposition
Uses Newton’s method to iteratively improve the polar decomposition, achieving higher accuracy than the standard SVD-based method.
§Arguments
a
- Input matrixmax_iterations
- Maximum number of Newton iterationstolerance
- Convergence tolerance
§Returns
- Tuple (U, P) where U is unitary and P is positive semidefinite