fips.linalg.LinearOperator.sqrt#

LinearOperator.sqrt()[source]#

Return a square root \(L\) with \(L L^T\) equal to this symmetric positive-definite form.

A diagonal form gives the diagonal of square roots, a block diagonal one the root of each block, and a Kronecker one whose rows are the whole product a root through its factors’ Cholesky factors; every other form the lower Cholesky factor of its dense matrix, as a DenseOperator.

Returns:

\(L\), square.

Return type:

LinearOperator

Raises:

numpy.linalg.LinAlgError – If the form is not positive-definite.