Improve autograd doc on complex numbers (#93065)

A tiny change to fix formatting and clarify a bit in [this section](https://pytorch.org/docs/stable/notes/autograd.html#what-are-complex-derivatives).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/93065
Approved by: https://github.com/albanD
This commit is contained in:
Felix Divo
2023-01-27 09:36:38 +00:00
committed by PyTorch MergeBot
parent 5105a8d3fc
commit 219e9533f0

View File

@ -414,9 +414,10 @@ limit definition of a derivative and generalizes it to operate on
complex numbers. Consider a function :math:`f: `,
.. math::
`f(z=x+yj) = u(x, y) + v(x, y)j`
f(z=x+yj) = u(x, y) + v(x, y)j
where :math:`u` and :math:`v` are two variable real valued functions.
where :math:`u` and :math:`v` are two variable real valued functions
and :math:`j` is the imaginary unit.
Using the derivative definition, we can write: