
![]() | ![]() |
8.146. Math::Complex
Provides support for complex numbers,
including a full set of mathematical functions; permits creation and
manipulation of complex numbers. Numerous overload and other
operations are provided for working with complex numbers. See the
documentation for the module for the complete list and also for a
discussion of complex numbers. The following methods are provided.
emake |
$z = Math::Complex->emake(args) cplxe $z = cplxe(args) |
display_format |
display_format ([format])
When called as a method, sets display format for current object. If
format is not specified, returns the
current setting. Possible settings are:
c
Cartesian formatp
Polar formatWhen called as a function, overrides the default display format,
which is Cartesian.
make |
$z = Math::Complex->make(args) cplx $z = cplx(args) |
![]() | ![]() | ![]() |
8.145. Math::BigRat | ![]() | 8.147. Math::Trig |

Copyright © 2002 O'Reilly & Associates. All rights reserved.