#include <Complex.h>
Public Methods | |
| real | Re () const |
| real | Im () const |
| Complex () | |
| Complex (const Complex &y) | |
| Complex (real r, real i=0) | |
| ~Complex () | |
| Complex& | operator= (const Complex &y) |
| Complex& | operator+= (const Complex &y) |
| Complex& | operator+= (real y) |
| Complex& | operator-= (const Complex &y) |
| Complex& | operator-= (real y) |
| Complex& | operator *= (const Complex &y) |
| Complex& | operator *= (real y) |
| Complex& | operator/= (const Complex &y) |
| Complex& | operator/= (real y) |
NAME: Complex - class for complex numbers
DESCRIPTION:
The class is based on the Complex class in the GNU C++ library, but the present version contains additional functionality and some of the syntax, names and design have been changed. We refer to the copyright notice at the top of the header file.
|
|
Three constructors are available: One constructor that takes no argument, one that takes another Complex object, initializing the new objects based on the supplied object, and one that takes a real and an imaginary value. |
|
|
See documentation of one of the overloaded constructor. |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
|
|
|
|
|
|
See documentation of one of the overloaded constructor. |
|
|
See documentation of one of the overloaded constructor. |
|
|
See documentation of one of the overloaded constructor. |
|
|
See documentation of one of the overloaded constructor. |
|
|
See documentation of one of the overloaded constructor. |
|
|
See documentation of one of the overloaded constructor. |
|
|
|
|
|
|
|
|
See documentation of one of the overloaded constructor. |