Up: Complex package   [Index]


2.1 Complex

Defined in namespace Smalltalk
Superclass: Number
Category: Examples-Useful

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.