File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 371
371
372
372
.. seealso::
373
373
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.
376
376
377
377
Args:
378
378
A (Tensor): tensor of shape `(*, n, n)` where `*` is zero or more batch dimensions.
396
396
397
397
Computes the sign and natural logarithm of the absolute value of the determinant of a square matrix.
398
398
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
400
400
determinant, that is, a logarithmic polar decomposition of the determinant.
401
401
402
402
The determinant can be recovered as `sign * exp(logabsdet)`.
You can’t perform that action at this time.
0 commit comments