[CppAD] AD Complex numbers

Balasubramanian, Manushanker mxb839 at psu.edu
Wed Oct 5 14:35:10 EDT 2022


Dear Prof. Brad,

I would like to know if it is possible to compute gradients of a function of complex type using the CppAD library? I want to determine the gradients of both real and imaginary parts of a complex function. I tried the example "complex polynomial" but for certain reason I cant make it work.
Do you have any example in the website that describes how to define function of type AD<complex>?

Regards,

Manushanker Balasubramanian, PhD
Researcher
Computational Electromagnetics and Antennas Research Laboratory (CEARL)
Department of Electrical Engineering, The Pennsylvania State University
301 Electrical Engineering East, University Park, PA 16802 USA
814-689-9179 / mxb839 at psu.edu<mailto:mxb839 at psu.edu>
http://cearl.ee.psu.edu/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cppad/attachments/20221005/94d05f82/attachment.html>


More information about the CppAD mailing list