Math/Complex
Section: Perl Programmers Reference Guide (3)
Updated: perl 5.003 with
Index
Return to Main Contents
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.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- BUGS
-
- AUTHORS
-
This document was created by
man2html,
using the manual pages.
Time: 15:34:43 GMT, January 15, 2023