_zgematrix Class Reference

(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class More...

#include <_zgematrix.hpp>

List of all members.

Public Member Functions

 _zgematrix ()
 _zgematrix (const _zgematrix &)
 ~_zgematrix ()
std::complex< double > & operator() (const long &, const long &) const
void write (const char *) const
void destroy () const

Public Attributes

long M
 matrix row size
long N
 matrix column size
std::complex< double > * Array
 1D Array to store matrix data
std::complex< double > ** Darray
 array of pointers of column head addresses

Friends

class zgematrix
class zgbmatrix
class _zgbmatrix
class zhematrix
class _zhematrix
class zssmatrix
class _zssmatrix
class zcovector
class _zcovector
class zrovector
class _zrovector
std::ostream & operator<< (std::ostream &, const zgematrix &)
_zgematrix t (const _zgematrix &)
_zgematrix i (const _zgematrix &)
_zgematrix conj (const _zgematrix &)
_zgematrix conjt (const _zgematrix &)
void idamax (long &, long &, const _zgematrix &)
std::complex< double > damax (const _zgematrix &)
const _zgematrixoperator+ (const _zgematrix &)
_zgematrix operator- (const _zgematrix &)
_zgematrix operator+ (const zgematrix &, const zgematrix &)
_zgematrix operator+ (const zgematrix &, const _zgematrix &)
_zgematrix operator+ (const _zgematrix &, const zgematrix &)
_zgematrix operator+ (const _zgematrix &, const _zgematrix &)
_zgematrix operator+ (const zgematrix &, const zgbmatrix &)
_zgematrix operator+ (const zgematrix &, const _zgbmatrix &)
_zgematrix operator+ (const _zgematrix &, const zgbmatrix &)
_zgematrix operator+ (const _zgematrix &, const _zgbmatrix &)
_zgematrix operator+ (const zgbmatrix &, const zgematrix &)
_zgematrix operator+ (const zgbmatrix &, const _zgematrix &)
_zgematrix operator+ (const _zgbmatrix &, const zgematrix &)
_zgematrix operator+ (const _zgbmatrix &, const _zgematrix &)
_zgematrix operator- (const zgematrix &)
_zgematrix operator- (const zgematrix &, const zgematrix &)
_zgematrix operator- (const zgematrix &, const _zgematrix &)
_zgematrix operator- (const _zgematrix &, const zgematrix &)
_zgematrix operator- (const _zgematrix &, const _zgematrix &)
_zgematrix operator- (const zgematrix &, const zgbmatrix &)
_zgematrix operator- (const zgematrix &, const _zgbmatrix &)
_zgematrix operator- (const _zgematrix &, const zgbmatrix &)
_zgematrix operator- (const _zgematrix &, const _zgbmatrix &)
_zgematrix operator- (const zgbmatrix &, const zgematrix &)
_zgematrix operator- (const zgbmatrix &, const _zgematrix &)
_zgematrix operator- (const _zgbmatrix &, const zgematrix &)
_zgematrix operator- (const _zgbmatrix &, const _zgematrix &)
_zgematrix operator* (const zgematrix &, const zgematrix &)
_zgematrix operator* (const zgematrix &, const _zgematrix &)
_zgematrix operator* (const _zgematrix &, const zgematrix &)
_zgematrix operator* (const _zgematrix &, const _zgematrix &)
_zgematrix operator* (const zgematrix &, const zgbmatrix &)
_zgematrix operator* (const zgematrix &, const _zgbmatrix &)
_zgematrix operator* (const _zgematrix &, const zgbmatrix &)
_zgematrix operator* (const _zgematrix &, const _zgbmatrix &)
_zgematrix operator* (const zgbmatrix &, const zgematrix &)
_zgematrix operator* (const zgbmatrix &, const _zgematrix &)
_zgematrix operator* (const _zgbmatrix &, const zgematrix &)
_zgematrix operator* (const _zgbmatrix &, const _zgematrix &)
_zgematrix operator* (const zcovector &, const zrovector &)
_zgematrix operator* (const zcovector &, const _zrovector &)
_zgematrix operator* (const _zcovector &, const zrovector &)
_zgematrix operator* (const _zcovector &, const _zrovector &)
_zrovector operator* (const zrovector &, const _zgematrix &)
_zrovector operator* (const _zrovector &, const _zgematrix &)
_zcovector operator* (const _zgematrix &, const zcovector &)
_zcovector operator* (const _zgematrix &, const _zcovector &)
_zgematrix operator* (const zgematrix &, const double &)
_zgematrix operator* (const _zgematrix &, const double &)
_zgematrix operator* (const double &, const zgematrix &)
_zgematrix operator* (const double &, const _zgematrix &)
_zgematrix operator* (const zgematrix &, const std::complex< double > &)
_zgematrix operator* (const _zgematrix &, const std::complex< double > &)
_zgematrix operator* (const std::complex< double > &, const zgematrix &)
_zgematrix operator* (const std::complex< double > &, const _zgematrix &)
_zgematrix operator* (const zhematrix &, const std::complex< double > &)
_zgematrix operator* (const std::complex< double > &, const zhematrix &)
_zgematrix operator/ (const zgematrix &, const double &)
_zgematrix operator/ (const _zgematrix &, const double &)
_zgematrix operator/ (const zgematrix &, const std::complex< double > &)
_zgematrix operator/ (const _zgematrix &, const std::complex< double > &)
_zgematrix operator/ (const zhematrix &, const std::complex< double > &)


Detailed Description

(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class

Definition at line 3 of file _zgematrix.hpp.


Constructor & Destructor Documentation

_zgematrix::_zgematrix (  )  [inline]

_zgematrix constructor without arguments

Definition at line 3 of file _zgematrix-constructor.hpp.

References Array, Darray, M, and N.

_zgematrix::_zgematrix ( const _zgematrix mat  )  [inline]

_zgematrix copy constructor

Definition at line 25 of file _zgematrix-constructor.hpp.

References Array, Darray, M, and N.

_zgematrix::~_zgematrix (  )  [inline]

zgematrix destructor

Definition at line 51 of file _zgematrix-constructor.hpp.


Member Function Documentation

void _zgematrix::destroy (  )  const [inline]

destroy all the matrix data

Definition at line 3 of file _zgematrix-misc.hpp.

References Array, and Darray.

Referenced by conjt(), damax(), idamax(), operator*(), zgematrix::operator*=(), operator+(), zgematrix::operator+=(), operator-(), zgematrix::operator-=(), operator<<(), t(), and write().

std::complex< double > & _zgematrix::operator() ( const long &  i,
const long &  j 
) const [inline]

operator() for object

Definition at line 3 of file _zgematrix-io.hpp.

References Darray, M, and N.

Referenced by write().

void _zgematrix::write ( const char *  filename  )  const [inline]

Definition at line 52 of file _zgematrix-io.hpp.

References destroy(), i, M, N, and operator()().


Friends And Related Function Documentation

friend class _zcovector [friend]

Definition at line 126 of file _zgematrix.hpp.

friend class _zgbmatrix [friend]

Definition at line 120 of file _zgematrix.hpp.

friend class _zhematrix [friend]

Definition at line 122 of file _zgematrix.hpp.

friend class _zrovector [friend]

Definition at line 128 of file _zgematrix.hpp.

friend class _zssmatrix [friend]

Definition at line 124 of file _zgematrix.hpp.

_zgematrix conj ( const _zgematrix mat  )  [friend]

return its conjugate matrix

Definition at line 58 of file _zgematrix-calc.hpp.

_zgematrix conjt ( const _zgematrix mat  )  [friend]

return its conjugate transposed matrix

Definition at line 74 of file _zgematrix-calc.hpp.

std::complex<double> damax ( const _zgematrix mat  )  [friend]

return its largest absolute value

Definition at line 115 of file _zgematrix-calc.hpp.

_zgematrix i ( const _zgematrix mat  )  [friend]

return its inverse matrix

Definition at line 24 of file _zgematrix-calc.hpp.

Referenced by write().

void idamax ( long &  i,
long &  j,
const _zgematrix mat 
) [friend]

search the index of element having the largest absolute value in 0-based numbering system

Definition at line 99 of file _zgematrix-calc.hpp.

_zgematrix operator* ( const std::complex< double > &  d,
const zhematrix mat 
) [friend]

std::complex<double>*zhematrix operator

Definition at line 3 of file complex-zhematrix.hpp.

_zgematrix operator* ( const zhematrix mat,
const std::complex< double > &  d 
) [friend]

zhematrix*stdcomplex<double> operator

Definition at line 3 of file zhematrix-complex.hpp.

_zgematrix operator* ( const std::complex< double > &  d,
const _zgematrix mat 
) [friend]

std::complex<double>*_zgematrix operator

Definition at line 3 of file complex-_zgematrix.hpp.

_zgematrix operator* ( const std::complex< double > &  d,
const zgematrix mat 
) [friend]

std::complex<double>*zgematrix operator

Definition at line 3 of file complex-zgematrix.hpp.

_zgematrix operator* ( const _zgematrix mat,
const std::complex< double > &  d 
) [friend]

_zgematrix*stdcomplex<double> operator

Definition at line 3 of file _zgematrix-complex.hpp.

_zgematrix operator* ( const zgematrix mat,
const std::complex< double > &  d 
) [friend]

zgematrix*stdcomplex<double> operator

Definition at line 33 of file zgematrix-complex.hpp.

_zgematrix operator* ( const double &  d,
const _zgematrix mat 
) [friend]

double*_zgematrix operator

Definition at line 3 of file double-_zgematrix.hpp.

_zgematrix operator* ( const double &  d,
const zgematrix mat 
) [friend]

double*zgematrix operator

Definition at line 3 of file double-zgematrix.hpp.

_zgematrix operator* ( const _zgematrix mat,
const double &  d 
) [friend]

_zgematrix*double operator

Definition at line 3 of file _zgematrix-double.hpp.

_zgematrix operator* ( const zgematrix mat,
const double &  d 
) [friend]

zgematrix*double operator

Definition at line 33 of file zgematrix-double.hpp.

_zcovector operator* ( const _zgematrix mat,
const _zcovector vec 
) [friend]

_zgematrix*_zcovector operator

Definition at line 3 of file _zgematrix-_zcovector.hpp.

_zcovector operator* ( const _zgematrix mat,
const zcovector vec 
) [friend]

_zgematrix*zcovector operator

Definition at line 3 of file _zgematrix-zcovector.hpp.

_zrovector operator* ( const _zrovector vec,
const _zgematrix mat 
) [friend]

_zrovector*_zgematrix operator

Definition at line 3 of file _zrovector-_zgematrix.hpp.

_zrovector operator* ( const zrovector vec,
const _zgematrix mat 
) [friend]

zrovector*_zgematrix operator

Definition at line 3 of file zrovector-_zgematrix.hpp.

_zgematrix operator* ( const _zcovector covec,
const _zrovector rovec 
) [friend]

_zcovector*_zrovector operator

Definition at line 3 of file _zcovector-_zrovector.hpp.

_zgematrix operator* ( const _zcovector covec,
const zrovector rovec 
) [friend]

_zcovector*zrovector operator

Definition at line 3 of file _zcovector-zrovector.hpp.

_zgematrix operator* ( const zcovector covec,
const _zrovector rovec 
) [friend]

zcovector*_zrovector operator

Definition at line 3 of file zcovector-_zrovector.hpp.

_zgematrix operator* ( const zcovector covec,
const zrovector rovec 
) [friend]

zcovector*zrovector operator

Definition at line 3 of file zcovector-zrovector.hpp.

_zgematrix operator* ( const _zgbmatrix matA,
const _zgematrix matB 
) [friend]

_zgbmatrix*_zgematrix operator

Definition at line 61 of file _zgbmatrix-_zgematrix.hpp.

_zgematrix operator* ( const _zgbmatrix matA,
const zgematrix matB 
) [friend]

_zgbmatrix*zgematrix operator

Definition at line 63 of file _zgbmatrix-zgematrix.hpp.

_zgematrix operator* ( const zgbmatrix matA,
const _zgematrix matB 
) [friend]

zgbmatrix*_zgematrix operator

Definition at line 65 of file zgbmatrix-_zgematrix.hpp.

_zgematrix operator* ( const zgbmatrix matA,
const zgematrix matB 
) [friend]

zgbmatrix*zgematrix operator

Definition at line 61 of file zgbmatrix-zgematrix.hpp.

_zgematrix operator* ( const _zgematrix matA,
const _zgbmatrix matB 
) [friend]

_zgematrix*_zgbmatrix operator

Definition at line 61 of file _zgematrix-_zgbmatrix.hpp.

_zgematrix operator* ( const _zgematrix matA,
const zgbmatrix matB 
) [friend]

_zgematrix*zgbmatrix operator

Definition at line 59 of file _zgematrix-zgbmatrix.hpp.

_zgematrix operator* ( const zgematrix matA,
const _zgbmatrix matB 
) [friend]

zgematrix*_zgbmatrix operator

Definition at line 184 of file zgematrix-_zgbmatrix.hpp.

_zgematrix operator* ( const zgematrix matA,
const zgbmatrix matB 
) [friend]

zgematrix*zgbmatrix operator

Definition at line 177 of file zgematrix-zgbmatrix.hpp.

_zgematrix operator* ( const _zgematrix matA,
const _zgematrix matB 
) [friend]

_zgematrix*_zgematrix operator

Definition at line 53 of file _zgematrix-_zgematrix.hpp.

_zgematrix operator* ( const _zgematrix matA,
const zgematrix matB 
) [friend]

_zgematrix*zgematrix operator

Definition at line 51 of file _zgematrix-zgematrix.hpp.

_zgematrix operator* ( const zgematrix matA,
const _zgematrix matB 
) [friend]

zgematrix*_zgematrix operator

Definition at line 152 of file zgematrix-_zgematrix.hpp.

_zgematrix operator* ( const zgematrix matA,
const zgematrix matB 
) [friend]

zgematrix*zgematrix operator

Definition at line 153 of file zgematrix-zgematrix.hpp.

_zgematrix operator+ ( const _zgbmatrix matA,
const _zgematrix matB 
) [friend]

_zgbmatrix+_zgematrix operator

Definition at line 3 of file _zgbmatrix-_zgematrix.hpp.

_zgematrix operator+ ( const _zgbmatrix matA,
const zgematrix matB 
) [friend]

_zgbmatrix+zgematrix operator

Definition at line 3 of file _zgbmatrix-zgematrix.hpp.

_zgematrix operator+ ( const zgbmatrix matA,
const _zgematrix matB 
) [friend]

zgbmatrix+_zgematrix operator

Definition at line 3 of file zgbmatrix-_zgematrix.hpp.

_zgematrix operator+ ( const zgbmatrix matA,
const zgematrix matB 
) [friend]

zgbmatrix+zgematrix operator

Definition at line 3 of file zgbmatrix-zgematrix.hpp.

_zgematrix operator+ ( const _zgematrix matA,
const _zgbmatrix matB 
) [friend]

_zgematrix+_zgbmatrix operator

Definition at line 3 of file _zgematrix-_zgbmatrix.hpp.

_zgematrix operator+ ( const _zgematrix matA,
const zgbmatrix matB 
) [friend]

_zgematrix+zgbmatrix operator

Definition at line 3 of file _zgematrix-zgbmatrix.hpp.

_zgematrix operator+ ( const zgematrix matA,
const _zgbmatrix matB 
) [friend]

zgematrix+_zgbmatrix operator

Definition at line 122 of file zgematrix-_zgbmatrix.hpp.

_zgematrix operator+ ( const zgematrix matA,
const zgbmatrix matB 
) [friend]

zgematrix+zgbmatrix operator

Definition at line 117 of file zgematrix-zgbmatrix.hpp.

_zgematrix operator+ ( const _zgematrix matA,
const _zgematrix matB 
) [friend]

_zgematrix+_zgematrix operator

Definition at line 3 of file _zgematrix-_zgematrix.hpp.

_zgematrix operator+ ( const _zgematrix matA,
const zgematrix matB 
) [friend]

_zgematrix+zgematrix operator

Definition at line 3 of file _zgematrix-zgematrix.hpp.

_zgematrix operator+ ( const zgematrix matA,
const _zgematrix matB 
) [friend]

zgematrix+_zgematrix operator

Definition at line 102 of file zgematrix-_zgematrix.hpp.

_zgematrix operator+ ( const zgematrix matA,
const zgematrix matB 
) [friend]

zgematrix+zgematrix operator

Definition at line 99 of file zgematrix-zgematrix.hpp.

const _zgematrix& operator+ ( const _zgematrix mat  )  [friend]

+_zgematrix operator

Definition at line 3 of file _zgematrix-unary.hpp.

_zgematrix operator- ( const _zgbmatrix matA,
const _zgematrix matB 
) [friend]

_zgbmatrix-_zgematrix operator

Definition at line 32 of file _zgbmatrix-_zgematrix.hpp.

_zgematrix operator- ( const _zgbmatrix matA,
const zgematrix matB 
) [friend]

_zgbmatrix-zgematrix operator

Definition at line 33 of file _zgbmatrix-zgematrix.hpp.

_zgematrix operator- ( const zgbmatrix matA,
const _zgematrix matB 
) [friend]

zgbmatrix-_zgematrix operator

Definition at line 31 of file zgbmatrix-_zgematrix.hpp.

_zgematrix operator- ( const zgbmatrix matA,
const zgematrix matB 
) [friend]

zgbmatrix-zgematrix operator

Definition at line 32 of file zgbmatrix-zgematrix.hpp.

_zgematrix operator- ( const _zgematrix matA,
const _zgbmatrix matB 
) [friend]

_zgematrix-_zgbmatrix operator

Definition at line 32 of file _zgematrix-_zgbmatrix.hpp.

_zgematrix operator- ( const _zgematrix matA,
const zgbmatrix matB 
) [friend]

_zgematrix-zgbmatrix operator

Definition at line 31 of file _zgematrix-zgbmatrix.hpp.

_zgematrix operator- ( const zgematrix matA,
const _zgbmatrix matB 
) [friend]

zgematrix-_zgbmatrix operator

Definition at line 153 of file zgematrix-_zgbmatrix.hpp.

_zgematrix operator- ( const zgematrix matA,
const zgbmatrix matB 
) [friend]

zgematrix-zgbmatrix operator

Definition at line 147 of file zgematrix-zgbmatrix.hpp.

_zgematrix operator- ( const _zgematrix matA,
const _zgematrix matB 
) [friend]

_zgematrix-_zgematrix operator

Definition at line 28 of file _zgematrix-_zgematrix.hpp.

_zgematrix operator- ( const _zgematrix matA,
const zgematrix matB 
) [friend]

_zgematrix-zgematrix operator

Definition at line 27 of file _zgematrix-zgematrix.hpp.

_zgematrix operator- ( const zgematrix matA,
const _zgematrix matB 
) [friend]

zgematrix-_zgematrix operator

Definition at line 126 of file zgematrix-_zgematrix.hpp.

_zgematrix operator- ( const zgematrix matA,
const zgematrix matB 
) [friend]

zgematrix-zgematrix operator

Definition at line 126 of file zgematrix-zgematrix.hpp.

_zgematrix operator- ( const zgematrix mat  )  [friend]

-zgematrix operator

Definition at line 15 of file zgematrix-unary.hpp.

_zgematrix operator- ( const _zgematrix mat  )  [friend]

-_zgematrix operator

Definition at line 15 of file _zgematrix-unary.hpp.

_zgematrix operator/ ( const zhematrix mat,
const std::complex< double > &  d 
) [friend]

zhematrix/stdcomplex<double> operator

Definition at line 19 of file zhematrix-complex.hpp.

_zgematrix operator/ ( const _zgematrix mat,
const std::complex< double > &  d 
) [friend]

_zgematrix/stdcomplex<double> operator

Definition at line 16 of file _zgematrix-complex.hpp.

_zgematrix operator/ ( const zgematrix mat,
const std::complex< double > &  d 
) [friend]

zgematrix/stdcomplex<double> operator

Definition at line 48 of file zgematrix-complex.hpp.

_zgematrix operator/ ( const _zgematrix mat,
const double &  d 
) [friend]

_zgematrix/double operator

Definition at line 16 of file _zgematrix-double.hpp.

_zgematrix operator/ ( const zgematrix mat,
const double &  d 
) [friend]

zgematrix/double operator

Definition at line 48 of file zgematrix-double.hpp.

std::ostream& operator<< ( std::ostream &  s,
const zgematrix mat 
) [friend]

Definition at line 80 of file zgematrix-io.hpp.

_zgematrix t ( const _zgematrix mat  )  [friend]

return transposed zgematrix

Definition at line 3 of file _zgematrix-calc.hpp.

friend class zcovector [friend]

Definition at line 125 of file _zgematrix.hpp.

friend class zgbmatrix [friend]

Definition at line 119 of file _zgematrix.hpp.

friend class zgematrix [friend]

Definition at line 118 of file _zgematrix.hpp.

friend class zhematrix [friend]

Definition at line 121 of file _zgematrix.hpp.

friend class zrovector [friend]

Definition at line 127 of file _zgematrix.hpp.

friend class zssmatrix [friend]

Definition at line 123 of file _zgematrix.hpp.


Member Data Documentation

std::complex<double>* _zgematrix::Array [mutable]

std::complex<double>** _zgematrix::Darray [mutable]

array of pointers of column head addresses

Definition at line 10 of file _zgematrix.hpp.

Referenced by _(), _zgematrix(), destroy(), operator()(), zgematrix::shallow_copy(), and zgematrix::zgematrix().

long _zgematrix::M [mutable]

long _zgematrix::N [mutable]


The documentation for this class was generated from the following files:

Generated on Wed May 26 16:37:42 2010 for VERB_CODE_2.0 by  doxygen 1.5.9