routine i
1 | language documentation Terms |
1.1 | (Terms) term i |
2 | class Complex |
2.1 | (Complex) postfix i |
Documentation for routine i
assembled from the following types:
language documentation Terms
From Terms
(Terms) term i
Returns the imaginary unit (for Complex numbers).
class Complex
From Complex
(Complex) postfix i
Adding a trailing i
to a number literal makes it a Complex, for example:
say 2i; # same as Complex.new(0, 2);say 1-2e3i; # same as Complex.new(1, -2e3);