zhematrix Class Reference

Complex Double-precision Hermitian Matrix Class [L-type (UPLO=L) Strage]. More...

#include <zhematrix.hpp>

List of all members.

Public Member Functions

 zhematrix ()
 zhematrix (const zhematrix &)
 zhematrix (const _zhematrix &)
 zhematrix (const zgbmatrix &)
 zhematrix (const _zgbmatrix &)
 zhematrix (const long &)
 zhematrix (const char *)
 ~zhematrix ()
__zhecomplex operator() (const long &, const long &)
std::complex< double > operator() (const long &, const long &) const
void set (const long &, const long &, const std::complex< double > &) const
void write (const char *) const
void read (const char *)
void complete () const
void clear ()
void zero ()
void identity ()
void chsign ()
void copy (const zhematrix &)
void shallow_copy (const _zhematrix &)
void resize (const long &)
long zhesv (zgematrix &)
long zhesv (zcovector &)
long zheev (std::vector< double > &, const bool &)
long zheev (std::vector< double > &, std::vector< zcovector > &)
long zheev (std::vector< double > &, std::vector< zrovector > &)
zhematrixoperator= (const zhematrix &)
zhematrixoperator+= (const zhematrix &)
zhematrixoperator-= (const zhematrix &)
zhematrixoperator*= (const zhematrix &)
zhematrixoperator= (const _zhematrix &)
zhematrixoperator+= (const _zhematrix &)
zhematrixoperator-= (const _zhematrix &)
zhematrixoperator*= (const _zhematrix &)
zhematrixoperator*= (const double &)
zhematrixoperator/= (const double &)

Public Attributes

long const & n
 matrix column size or row size (readable)
std::complex< double > *const & array
 1D array to store matrix data (readable)
std::complex< double > **const & darray
 array of pointers of column head addresses (readable)

Friends

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


Detailed Description

Complex Double-precision Hermitian Matrix Class [L-type (UPLO=L) Strage].

The imaginary part of every diagonal component is not referenced.

Definition at line 4 of file zhematrix.hpp.


Constructor & Destructor Documentation

zhematrix::zhematrix (  )  [inline]

zhematrix constructor without arguments

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

References _zrovector::Array.

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

zhematrix copy constructor

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

References _zrovector::Array, i, and zcopy_.

zhematrix::zhematrix ( const _zhematrix mat  )  [inline]

zhematrix constructor to cast _zhematrix

Definition at line 50 of file zhematrix-constructor.hpp.

References _zhematrix::Array, _zrovector::Array, _zhematrix::Darray, and _zhematrix::N.

zhematrix::zhematrix ( const zgbmatrix  )  [inline]

zhematrix::zhematrix ( const _zgbmatrix  )  [inline]

zhematrix::zhematrix ( const long &  _n  )  [inline]

zhematrix constructor with size specification

Definition at line 72 of file zhematrix-constructor.hpp.

References _zrovector::Array, and i.

zhematrix::zhematrix ( const char *  filename  )  [inline]

zhematrix constructor with filename

Definition at line 105 of file zhematrix-constructor.hpp.

References _zrovector::Array, and read().

zhematrix::~zhematrix (  )  [inline]

zhematrix destructor

Definition at line 131 of file zhematrix-constructor.hpp.

References _zrovector::Array.


Member Function Documentation

void zhematrix::chsign (  )  [inline]

change sign(+/-) of the matrix

Definition at line 79 of file zhematrix-misc.hpp.

References i.

void zhematrix::clear (  )  [inline]

clear all the matrix data and set the sizes 0

Definition at line 26 of file zhematrix-misc.hpp.

References _zrovector::Array.

void zhematrix::complete (  )  const [inline]

complete the upper-right components

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

References conj, CPPL_EPS, and i.

Referenced by operator*(), and operator/().

void zhematrix::copy ( const zhematrix mat  )  [inline]

make a deep copy of the matrix

Definition at line 95 of file zhematrix-misc.hpp.

References _zrovector::Array, i, and zcopy_.

Referenced by operator=().

void zhematrix::identity (  )  [inline]

change the matrix into an identity matrix

Definition at line 62 of file zhematrix-misc.hpp.

References i.

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

operator() for const object

Definition at line 28 of file zhematrix-io.hpp.

References conj.

__zhecomplex zhematrix::operator() ( const long &  i,
const long &  j 
) [inline]

operator() for non-const object

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

Referenced by operator+=(), operator-=(), and write().

zhematrix & zhematrix::operator*= ( const double &  d  )  [inline]

zhematrix*=double operator

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

References _zrovector::Array, and zdscal_.

zhematrix& zhematrix::operator*= ( const _zhematrix  )  [inline]

zhematrix& zhematrix::operator*= ( const zhematrix  )  [inline]

zhematrix & zhematrix::operator+= ( const _zhematrix mat  )  [inline]

zhematrix+=_zhematrix operator

Definition at line 20 of file zhematrix-_zhematrix.hpp.

References _zhematrix::Array, _zrovector::Array, _zhematrix::destroy(), i, and _zhematrix::N.

zhematrix & zhematrix::operator+= ( const zhematrix mat  )  [inline]

zhematrix+=zhematrix operator

Definition at line 22 of file zhematrix-zhematrix.hpp.

References i, and operator()().

zhematrix & zhematrix::operator-= ( const _zhematrix mat  )  [inline]

zhematrix-=_zhematrix operator

Definition at line 47 of file zhematrix-_zhematrix.hpp.

References _zhematrix::Array, _zrovector::Array, _zhematrix::destroy(), i, and _zhematrix::N.

zhematrix & zhematrix::operator-= ( const zhematrix mat  )  [inline]

zhematrix operator-=

Definition at line 48 of file zhematrix-zhematrix.hpp.

References i, and operator()().

zhematrix & zhematrix::operator/= ( const double &  d  )  [inline]

zhematrix/=double operator

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

References _zrovector::Array, and zdscal_.

zhematrix & zhematrix::operator= ( const _zhematrix mat  )  [inline]

zhematrix=_zhematrix operator

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

References shallow_copy().

zhematrix & zhematrix::operator= ( const zhematrix mat  )  [inline]

zhematrix=zhematrix operator

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

References _zrovector::Array, and copy().

void zhematrix::read ( const char *  filename  )  [inline]

Definition at line 149 of file zhematrix-io.hpp.

References i, and resize().

Referenced by zhematrix().

void zhematrix::resize ( const long &  _n  )  [inline]

resize the matrix

Definition at line 147 of file zhematrix-misc.hpp.

References _zrovector::Array, and i.

Referenced by read().

void zhematrix::set ( const long &  i,
const long &  j,
const std::complex< double > &  v 
) const [inline]

set value for const object

Definition at line 57 of file zhematrix-io.hpp.

References conj.

void zhematrix::shallow_copy ( const _zhematrix mat  )  [inline]

make a shallow copy of the matrix
This function is not designed to be used in project codes.

Definition at line 125 of file zhematrix-misc.hpp.

References _zhematrix::Array, _zrovector::Array, _zhematrix::Darray, and _zhematrix::N.

Referenced by i(), and operator=().

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

Definition at line 120 of file zhematrix-io.hpp.

References CPPL_EPS, i, and operator()().

void zhematrix::zero (  )  [inline]

change the matrix into a zero matrix

Definition at line 48 of file zhematrix-misc.hpp.

References _zrovector::Array, and i.

long zhematrix::zheev ( std::vector< double > &  w,
std::vector< zrovector > &  v 
) [inline]

calculate eigenvalues and eigenvectors.
All of the arguments need not to be initialized. w and v are overwitten and become eigenvalues and eigenvectors, respectively. This matrix is also overwritten.

Definition at line 175 of file zhematrix-lapack.hpp.

References _zrovector::Array, i, CPPL::max(), and zheev_.

long zhematrix::zheev ( std::vector< double > &  w,
std::vector< zcovector > &  v 
) [inline]

calculate eigenvalues and eigenvectors.
All of the arguments need not to be initialized. w and v are overwitten and become eigenvalues and eigenvectors, respectively. This matrix is also overwritten.

Definition at line 132 of file zhematrix-lapack.hpp.

References _zrovector::Array, i, CPPL::max(), and zheev_.

long zhematrix::zheev ( std::vector< double > &  w,
const bool &  jobz = 0 
) [inline]

calculate eigenvalues and eigenvectors.
All of the arguments need not to be initialized. w is overwitten and become eigenvalues. This matrix is also overwritten. if jobz=1, this matrix becomes eigenvectors.

Definition at line 94 of file zhematrix-lapack.hpp.

References _zrovector::Array, CPPL::max(), and zheev_.

long zhematrix::zhesv ( zcovector vec  )  [inline]

solve A*x=y using zhesv
The argument is zcovector y. y is overwritten and become the solution x. A is also overwritten.

Definition at line 47 of file zhematrix-lapack.hpp.

References _zrovector::Array, and zhesv_.

long zhematrix::zhesv ( zgematrix mat  )  [inline]

solve A*X=Y using zhesv
The argument is dmatrix Y. Y is overwritten and become the solution X. A is also overwritten.

Definition at line 6 of file zhematrix-lapack.hpp.

References _zrovector::Array, and zhesv_.

Referenced by i().


Friends And Related Function Documentation

_zhematrix _ ( zhematrix mat  )  [friend]

convert user object to smart-temporary object

Definition at line 190 of file zhematrix-misc.hpp.

friend class _zcovector [friend]

Definition at line 161 of file zhematrix.hpp.

friend class _zgbmatrix [friend]

Definition at line 158 of file zhematrix.hpp.

friend class _zgematrix [friend]

Definition at line 156 of file zhematrix.hpp.

friend class _zhematrix [friend]

Definition at line 159 of file zhematrix.hpp.

friend class _zrovector [friend]

Definition at line 163 of file zhematrix.hpp.

_zhematrix conj ( const zhematrix mat  )  [friend]

return its conjugate matrix

Definition at line 41 of file zhematrix-calc.hpp.

Referenced by complete(), operator()(), and set().

_zhematrix conjt ( const zhematrix mat  )  [friend]

return its conjugate transposed matrix

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

_zgematrix i ( const zhematrix mat  )  [friend]

return its inverse matrix

Definition at line 20 of file zhematrix-calc.hpp.

Referenced by chsign(), complete(), copy(), identity(), operator+=(), operator-=(), read(), resize(), write(), zero(), zheev(), and zhematrix().

_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.

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

double*zhematrix operator

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

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

zhematrix*double operator

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

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

_zrovector*zhematrix operator

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

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

zrovector*zhematrix operator

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

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

zhematrix*_zcovector operator

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

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

zhematrix*zcovector operator

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

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

_zssmatrix*zhematrix operator

Definition at line 61 of file _zssmatrix-zhematrix.hpp.

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

zssmatrix*zhematrix operator

Definition at line 62 of file zssmatrix-zhematrix.hpp.

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

zhematrix*_zssmatrix operator

Definition at line 61 of file zhematrix-_zssmatrix.hpp.

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

zhematrix*zssmatrix operator

Definition at line 59 of file zhematrix-zssmatrix.hpp.

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

_zgbmatrix*zgematrix operator

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

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

zgbmatrix*zhematrix operator

Definition at line 67 of file zgbmatrix-zhematrix.hpp.

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

zhematrix*_zgbmatrix operator

Definition at line 69 of file zhematrix-_zgbmatrix.hpp.

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

zhematrix*zgbmatrix operator

Definition at line 67 of file zhematrix-zgbmatrix.hpp.

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

_zgematrix*zhematrix operator

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

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

zgematrix*zhematrix operator

Definition at line 162 of file zgematrix-zhematrix.hpp.

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

_zgematrix*zgematrix operator

Definition at line 55 of file zhematrix-_zgematrix.hpp.

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

zhematrix*zgematrix operator

Definition at line 58 of file zhematrix-zgematrix.hpp.

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

zhematrix*zhematrix operator

Definition at line 130 of file zhematrix-zhematrix.hpp.

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

zhematrix*_zhematrix operator

Definition at line 130 of file zhematrix-_zhematrix.hpp.

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

_zhematrix*zhematrix operator

Definition at line 59 of file _zhematrix-zhematrix.hpp.

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

_zssmatrix+zhematrix operator

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

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

zssmatrix+zhematrix operator

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

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

zhematrix+_zssmatrix operator

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

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

zhematrix+zssmatrix operator

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

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

_zgbmatrix+zhematrix operator

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

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

zgbmatrix+zhematrix operator

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

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

zhematrix+_zgbmatrix operator

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

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

zhematrix+zgbmatrix operator

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

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

_zgematrix+zhematrix operator

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

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

zgematrix+zhematrix operator

Definition at line 108 of file zgematrix-zhematrix.hpp.

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

_zgematrix+zhematrix operator

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

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

zhematrix+zgematrix operator

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

_zhematrix operator+ ( const _zhematrix matA,
const zhematrix matB 
) [friend]

_zhematrix+zhematrix operator

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

_zhematrix operator+ ( const zhematrix matA,
const _zhematrix matB 
) [friend]

zhematrix+_zhematrix operator

Definition at line 78 of file zhematrix-_zhematrix.hpp.

_zhematrix operator+ ( const zhematrix matA,
const zhematrix matB 
) [friend]

zhematrix+zhematrix operator

Definition at line 74 of file zhematrix-zhematrix.hpp.

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

+zhematrix operator

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

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

_zssmatrix-zhematrix operator

Definition at line 32 of file _zssmatrix-zhematrix.hpp.

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

zssmatrix-zhematrix operator

Definition at line 31 of file zssmatrix-zhematrix.hpp.

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

zhematrix-_zssmatrix operator

Definition at line 32 of file zhematrix-_zssmatrix.hpp.

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

zhematrix-zssmatrix operator

Definition at line 31 of file zhematrix-zssmatrix.hpp.

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

_zgbmatrix-zgematrix operator

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

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

zgbmatrix-zhematrix operator

Definition at line 35 of file zgbmatrix-zhematrix.hpp.

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

zhematrix-_zgbmatrix operator

Definition at line 36 of file zhematrix-_zgbmatrix.hpp.

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

zhematrix-zgbmatrix operator

Definition at line 35 of file zhematrix-zgbmatrix.hpp.

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

_zgematrix-zhematrix operator

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

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

zgematrix-zhematrix operator

Definition at line 135 of file zgematrix-zhematrix.hpp.

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

_zgematrix-zgematrix operator

Definition at line 29 of file zhematrix-_zgematrix.hpp.

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

zhematrix-zgematrix operator

Definition at line 30 of file zhematrix-zgematrix.hpp.

_zhematrix operator- ( const _zhematrix matA,
const zhematrix matB 
) [friend]

_zhematrix-zhematrix operator

Definition at line 31 of file _zhematrix-zhematrix.hpp.

_zhematrix operator- ( const zhematrix matA,
const _zhematrix matB 
) [friend]

zhematrix-_zhematrix operator

Definition at line 104 of file zhematrix-_zhematrix.hpp.

_zhematrix operator- ( const zhematrix matA,
const zhematrix matB 
) [friend]

zhematrix-zhematrix operator

Definition at line 102 of file zhematrix-zhematrix.hpp.

_zhematrix operator- ( const zhematrix mat  )  [friend]

-zgematrix operator

Definition at line 15 of file zhematrix-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.

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

zhematrix/double operator

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

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

Definition at line 87 of file zhematrix-io.hpp.

void swap ( zhematrix A,
zhematrix B 
) [friend]

swap two matrices

Definition at line 174 of file zhematrix-misc.hpp.

_zhematrix t ( const zhematrix mat  )  [friend]

return transposed zgematrix

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

friend class zcovector [friend]

Definition at line 160 of file zhematrix.hpp.

friend class zgbmatrix [friend]

Definition at line 157 of file zhematrix.hpp.

friend class zgematrix [friend]

Definition at line 155 of file zhematrix.hpp.

friend class zrovector [friend]

Definition at line 162 of file zhematrix.hpp.


Member Data Documentation

std::complex<double>* const& zhematrix::array

1D array to store matrix data (readable)

Definition at line 15 of file zhematrix.hpp.

Referenced by dsymatrix::operator _zhematrix(), _dsymatrix::operator _zhematrix(), operator*(), and operator/().

std::complex<double>** const& zhematrix::darray

array of pointers of column head addresses (readable)

Definition at line 16 of file zhematrix.hpp.

long const& zhematrix::n

matrix column size or row size (readable)

Definition at line 14 of file zhematrix.hpp.


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

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