in reply to Re: Constructing complex numbers using recursion
in thread Constructing complex numbers using recursion

the purpose of constructComplex ultimately is to take the strings that i give it (either in "3 _ 4" form or "3 + 4i" form) and pick out the numbers from the rest of the string.


what i'm trying to do is if constructComplex detects that value1 is of type polar (if i get this fix i'd like to expand this to all other cases), i want it to get the rectangular form from PolarToRect and then use constructComplex (the recursion) to pick out the real/complex numbers and package all of that nicely in the @construct that constructComplex returns at the end
  • Comment on Re^2: Constructing complex numbers using recursion