Computes the principal square root of a symmetric (resp. Hermitian) positive-definite matrix.
Letting K be R or ,
for a symmetric (resp. Hermitian) positive-definite matrix ,
this function returns the unique symmetric (resp. Hermitian) positive-definite matrix
such that
C
A∈Kn×n
X∈Kn×n
XX=A.
Supports input of float, double, cfloat and cdouble dtypes.
Also supports batches of matrices, and if A is a batch of matrices then
the output has the same batch dimensions.
Parameters:
A (Tensor) – tensor of shape (*, n, n) where * is zero or more batch dimensions
consisting of symmetric (resp. Hermitian) positive-definite matrices.