Up: Complex package [Index]
I provide complex numbers, with full interoperability with other kinds of numbers. Complex numbers can be created from imaginary numbers, which in turn are created with ‘Complex i’ or the #i method (e.g. ‘3 i’). Alternatively, they can be created from polar numbers.
| • Complex class-instance creation: | (class) | |
| • Complex-comparing: | (instance) | |
| • Complex-converting: | (instance) | |
| • Complex-creation/coercion: | (instance) | |
| • Complex-math: | (instance) | |
| • Complex-printing: | (instance) | |
| • Complex-testing: | (instance) | |
| • Complex-transcendental functions: | (instance) |