ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: setComplexMode

setComplexMode(b) sets the complex mode to b, true or false.

In complex mode, complex numbers are used by all functions. For instance, sqrt(-4) = 2i and arcsin(3) = 1.57079632679 − 1.76274717404⋅i. However, if not in complex mode (i.e., in real mode), these expressions are undefined.