#include <iostream>
#include <math.h>
#include "Musimat.h"
Go to the source code of this file.
Namespaces | |
| namespace | std |
Classes | |
| class | Complex |
| Complex class implements a set of data types, conversions, and operations for complex numbers. More... | |
Functions | |
| Real | RealPart (Complex c) |
| Convenience function to get the real part of a Complex number. | |
| Real | ImagPart (Complex c) |
| Convenience function to get the imaginary part of a Complex number. | |
| Void | RealPart (Complex &c, Real r) |
| Convenience function to set the real part of a Complex number. | |
| Void | ImagPart (Complex &c, Real r) |
| Convenience function to set the imaginary part of a Complex number. | |
| Complex | Abs (Complex c) |
| Convenience function to return the absolute value of a Complex number. | |
| Complex | Conjugate (Complex c) |
| Convenience function to return the conjugate value of a Complex number. | |
| Complex | Exp (Complex a, Complex b) |
| Raise Complex a to the power of Complex b. | |
| Complex | Exp (Real r, Real theta) |
| Raise Real r to the power of Real theta. | |
Definition in file Complex.h.
Convenience function to return the absolute value of a Complex number.
Definition at line 264 of file Complex.h.
References Complex::Abs(), and Return.
Referenced by RealToRational().
Convenience function to set the imaginary part of a Complex number.
Definition at line 261 of file Complex.h.
References Complex::i().
00261 { c.i(r); }
Convenience function to set the real part of a Complex number.
Definition at line 258 of file Complex.h.
References Complex::r().
00258 { c.r(r); }
1.4.7