Complex Disc Arithmetic
written by Grimmer, Markus, Department of Mathematics, University of Wuppertal, Germany, http://www.math.uni-wuppertal.de/wrswt <? 1999-2002 Scientific Computing/Software Engineering Research Group, University of Wuppertal, Germany>
NOTE: This worksheet demonstrates the use of the Maple package intpakX v1.0 for interval arithmetic.
This document is not the package. It only shows how to work with the functions and types provided by intpakX v1.0 . You must create the package in an empty directory before loading the package ( i.e., /usr/maple/intpakX/lib) Once created, load the package as follows:
Warning, the name changecoords has been redefined
Warning, the assigned name midpoint now has a global binding
Warning, the protected names ilog10, max and min have been redefined and unprotected
In addition to real intervals, there are also types and procedures for complex interval arithmetic.
Data Types and basic operations
Data Types: type/complex_disc and type/complex_interval A complex disc is given by a complex number (center of the disc) and a value for the radius. It is defined as a list of three entries, [z_re,z_im,r]. A complex interval is given by two real intervals specifying a rectangular area.
Display complex disc intervals:
Arithmetical Operations: &cadd, &csub, &cmult, &cdiv As for real intervals, you can also do the basic arithmetics with disc intervals.
Area optimal multiplication and division: You can also use area optimal multiplication and division instead of their centered counterparts (where you get the new center i.e. by multiplying the centers of the discs to be multiplied).
Range Enclosure for Complex Polynomials
Define and display complex polynomials:
There are three methods for enclosing the range of a complex polynomial, two based on a Horner-like evaluation with centered or area optimal multiplication, the third based on centered forms (similar to the mean value form for real numbers). Study the example for the differences:
The display command can be found in the Maple plots package. For the options cf. the plot command options.
The Complex Exponential Function
Finally, there's the exponential function for complex discs:
Disclaimer: While every effort has been made to validate the solutions in this worksheet, Waterloo Maple Inc. and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.