Ilya Zakharevich

NAME

Math::Complex - complex numbers package

SYNOPSIS

  use Math::Complex;
  $i = new Math::Complex;

DESCRIPTION

Complex numbers declared as

    $i = Math::Complex->new(1,1);

can be manipulated with overloaded math operators. The operators

  + - * / neg ~ abs cos sin exp sqrt

are supported as well as

  "" (stringify)

The methods

  Re Im arg

are also provided.

BUGS

sqrt() should return two roots, but only returns one.

AUTHORS

Dave Nadler, Tom Christiansen, Tim Bunce, Larry Wall.