I am trying to port a mathematics library that I made in Python a few years ago to C++. It is not as hard as I had expected it to be, however, I am having trouble converting my Linear Equation Solver into C++. This is because it uses Complex numbers as well as the 'eval' function (it is amazingly only three lines of code). Can anyone give me any pointers on how I should convert this kind of thing into C++? I am just not sure as to the best way to tackle this problem in C++.
Thanks for any advice that you can give me.