The class complex is a template class, used to create objects for representing and manipulating complex numbers. The operations defined on complex numbers allow them to be freely intermixed with the other numeric types available in the C++ language, thereby permitting numeric software to be easily and naturally expressed.
Programs that use complex numbers must include the complex header file.
# include <complex>
©Copyright 1996, Rogue Wave Software, Inc.