File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 371371
372372.. seealso::
373373
374- :func:`torch.linalg.slogdet` computes the sign (resp. angle) and natural logarithm of the
375- absolute value of the determinant of real-valued (resp. complex) square matrices.
374+ :func:`torch.linalg.slogdet` computes the sign and natural logarithm of the absolute
375+ value of the determinant of square matrices.
376376
377377Args:
378378 A (Tensor): tensor of shape `(*, n, n)` where `*` is zero or more batch dimensions.
396396
397397Computes the sign and natural logarithm of the absolute value of the determinant of a square matrix.
398398
399- For complex :attr:`A`, it returns the angle and the natural logarithm of the modulus of the
399+ For complex :attr:`A`, it returns the sign and the natural logarithm of the modulus of the
400400determinant, that is, a logarithmic polar decomposition of the determinant.
401401
402402The determinant can be recovered as `sign * exp(logabsdet)`.
You can’t perform that action at this time.
0 commit comments