Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

RComplex Class Reference

#include <RComplex.hpp>

Collaboration diagram for RComplex:

Collaboration graph
[legend]
List of all members.

Detailed Description

double complex number

Author:
Bernard De Cuyper
Version:
0.05
Date:
3/09/2003
 
Purpose:        Defines complex numbers.
                

@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, 2003 Eggs & Pictures. MIT/Open BSD copyright model.


Public Methods

 RComplex ()
 RComplex (double real, double img=0.0)
 RComplex (double root, double theta, int sign)
 RComplex (const RComplex &x)
RComplex & operator= (const RComplex &x)
 ~RComplex ()
double getReal ()
double getImg ()
double getRoot ()
double getAbs ()
double getArg ()
RComplex pow (double pow)
void operator+= (double value)
void operator-= (double value)
void operator *= (double value)
void operator/= (double value)
void operator+= (const RComplex &v)
void operator-= (const RComplex &v)
void operator *= (const RComplex &v)
void operator/= (const RComplex &v)
void output ()
void output (FILE *file)

Public Attributes

double a
double b
RComplex conjugate ()
RComplex sqrt ()
RComplex sqr ()
RComplex exp ()
RComplex log ()

Friends

RComplex operator+ (const RComplex &v, double a)
RComplex operator+ (double a, const RComplex &v)
RComplex operator- (const RComplex &v, double a)
RComplex operator- (double a, const RComplex &v)
RComplex operator * (const RComplex &v, double a)
RComplex operator * (double a, const RComplex &v)
RComplex operator/ (const RComplex &v, double a)
RComplex operator+ (const RComplex &v1, const RComplex &v2)
RComplex operator- (const RComplex &v1, const RComplex &v2)
RComplex operator * (const RComplex &v1, const RComplex &v2)
RComplex operator/ (const RComplex &v1, const RComplex &v2)


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com