/Users/mdipierro/fermiqcd/development/Libraries/mdp_complex.h File Reference

Go to the source code of this file.

Classes

class  mdp_complex
 portable complex numbers More...

Functions

mdp_complex operator+ (const mdp_complex &a, const mdp_complex &b)
mdp_complex operator- (const mdp_complex &a, const mdp_complex &b)
mdp_complex operator* (const mdp_complex &a, const mdp_complex &b)
mdp_complex operator/ (const mdp_complex &a, const mdp_complex &b)
mdp_complex operator+ (const mdp_complex &a, const int c)
mdp_complex operator- (const mdp_complex &a, const int c)
mdp_complex operator* (const mdp_complex &a, const int c)
mdp_complex operator/ (const mdp_complex &a, const int c)
mdp_complex operator+ (const int a, const mdp_complex &c)
mdp_complex operator- (const int a, const mdp_complex &c)
mdp_complex operator* (const int a, const mdp_complex &c)
mdp_complex operator/ (const int a, const mdp_complex &c)
mdp_complex operator+ (const mdp_complex &a, const float c)
mdp_complex operator- (const mdp_complex &a, const float c)
mdp_complex operator* (const mdp_complex &a, const float c)
mdp_complex operator/ (const mdp_complex &a, const float c)
mdp_complex operator+ (const float a, const mdp_complex &c)
mdp_complex operator- (const float a, const mdp_complex &c)
mdp_complex operator* (const float a, const mdp_complex &c)
mdp_complex operator/ (const float a, const mdp_complex &c)
mdp_complex operator+ (const mdp_complex &a, const double c)
mdp_complex operator- (const mdp_complex &a, const double c)
mdp_complex operator* (const mdp_complex &a, const double c)
mdp_complex operator/ (const mdp_complex &a, const double c)
mdp_complex operator+ (const double a, const mdp_complex &c)
mdp_complex operator- (const double a, const mdp_complex &c)
mdp_complex operator* (const double a, const mdp_complex &c)
mdp_complex operator/ (const double a, const mdp_complex &c)
mdp_real abs2 (const mdp_complex &a)
ostream & operator<< (ostream &os, const mdp_complex &a)

Variables

const mdp_complex I = mdp_complex(0,1)

Detailed Description

Version:
2009-12-21
Author:
Massimo Di Pierro <mdipierro@cs.depaul.edu>

Contains delcaration of class mdp_complex for complex numbers

Licensed under GPL2 license Read attached license in file mdp_license.pdf This file cannot be distributed without file mdp_license.pdf


Function Documentation

mdp_real abs2 ( const mdp_complex a  )  [inline]
mdp_complex operator* ( const double  a,
const mdp_complex c 
) [inline]
mdp_complex operator* ( const mdp_complex a,
const double  c 
) [inline]
mdp_complex operator* ( const float  a,
const mdp_complex c 
) [inline]
mdp_complex operator* ( const mdp_complex a,
const float  c 
) [inline]
mdp_complex operator* ( const int  a,
const mdp_complex c 
) [inline]
mdp_complex operator* ( const mdp_complex a,
const int  c 
) [inline]
mdp_complex operator* ( const mdp_complex a,
const mdp_complex b 
) [inline]
mdp_complex operator+ ( const double  a,
const mdp_complex c 
) [inline]
mdp_complex operator+ ( const mdp_complex a,
const double  c 
) [inline]
mdp_complex operator+ ( const float  a,
const mdp_complex c 
) [inline]
mdp_complex operator+ ( const mdp_complex a,
const float  c 
) [inline]
mdp_complex operator+ ( const int  a,
const mdp_complex c 
) [inline]
mdp_complex operator+ ( const mdp_complex a,
const int  c 
) [inline]
mdp_complex operator+ ( const mdp_complex a,
const mdp_complex b 
) [inline]
mdp_complex operator- ( const double  a,
const mdp_complex c 
) [inline]
mdp_complex operator- ( const mdp_complex a,
const double  c 
) [inline]
mdp_complex operator- ( const float  a,
const mdp_complex c 
) [inline]
mdp_complex operator- ( const mdp_complex a,
const float  c 
) [inline]
mdp_complex operator- ( const int  a,
const mdp_complex c 
) [inline]
mdp_complex operator- ( const mdp_complex a,
const int  c 
) [inline]
mdp_complex operator- ( const mdp_complex a,
const mdp_complex b 
) [inline]
mdp_complex operator/ ( const double  a,
const mdp_complex c 
) [inline]
mdp_complex operator/ ( const mdp_complex a,
const double  c 
) [inline]
mdp_complex operator/ ( const float  a,
const mdp_complex c 
) [inline]
mdp_complex operator/ ( const mdp_complex a,
const float  c 
) [inline]
mdp_complex operator/ ( const int  a,
const mdp_complex c 
) [inline]
mdp_complex operator/ ( const mdp_complex a,
const int  c 
) [inline]
mdp_complex operator/ ( const mdp_complex a,
const mdp_complex b 
) [inline]
ostream& operator<< ( ostream &  os,
const mdp_complex a 
)

Variable Documentation

const mdp_complex I = mdp_complex(0,1)
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed Dec 23 14:03:14 2009 for fermiqcd by  doxygen 1.6.1