zgbmatrix Class Reference

Complex Double-precision General Band Matrix Class. More...

#include <zgbmatrix.hpp>

List of all members.

Public Member Functions

 zgbmatrix ()
 zgbmatrix (const zgbmatrix &)
 zgbmatrix (const _zgbmatrix &)
 zgbmatrix (const long &, const long &, const long &, const long &)
 zgbmatrix (const char *)
 ~zgbmatrix ()
std::complex< double > & 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 clear ()
void zero ()
void identity ()
void chsign ()
void copy (const zgbmatrix &)
void shallow_copy (const _zgbmatrix &)
void resize (const long &, const long &, const long &, const long &)
long zgbsv (zgematrix &)
long zgbsv (zcovector &)
zgbmatrixoperator= (const zgbmatrix &)
zgbmatrixoperator+= (const zgbmatrix &)
zgbmatrixoperator-= (const zgbmatrix &)
zgbmatrixoperator*= (const zgbmatrix &)
zgbmatrixoperator= (const _zgbmatrix &)
zgbmatrixoperator+= (const _zgbmatrix &)
zgbmatrixoperator-= (const _zgbmatrix &)
zgbmatrixoperator*= (const _zgbmatrix &)
zgbmatrixoperator*= (const double &)
zgbmatrixoperator/= (const double &)
zgbmatrixoperator*= (const std::complex< double > &)
zgbmatrixoperator/= (const std::complex< double > &)

Public Attributes

long const & m
 matrix row size (readable)
long const & n
 matrix column size (readable)
long const & kl
 lower band width (readable)
long const & ku
 upper band width (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 zhematrix
class _zhematrix
class zcovector
class _zcovector
class zrovector
class _zrovector
std::ostream & operator<< (std::ostream &, const zgbmatrix &)
void swap (zgbmatrix &, zgbmatrix &)
_zgbmatrix _ (zgbmatrix &)
_zgbmatrix t (const zgbmatrix &)
_zgematrix i (const zgbmatrix &)
_zgbmatrix conj (const zgbmatrix &)
_zgbmatrix conjt (const zgbmatrix &)
const zgbmatrixoperator+ (const zgbmatrix &)
_zgbmatrix operator- (const zgbmatrix &)
_zgbmatrix operator+ (const zgbmatrix &, const zgbmatrix &)
_zgbmatrix operator+ (const zgbmatrix &, const _zgbmatrix &)
_zgbmatrix operator+ (const _zgbmatrix &, const zgbmatrix &)
_zgematrix operator+ (const zgbmatrix &, const zgematrix &)
_zgematrix operator+ (const zgbmatrix &, const _zgematrix &)
_zgematrix operator+ (const zgematrix &, const zgbmatrix &)
_zgematrix operator+ (const _zgematrix &, const zgbmatrix &)
_zgematrix operator+ (const zgbmatrix &, const zhematrix &)
_zgematrix operator+ (const zgbmatrix &, const _zhematrix &)
_zgematrix operator+ (const zhematrix &, const zgbmatrix &)
_zgematrix operator+ (const _zhematrix &, const zgbmatrix &)
_zgematrix operator+ (const zgbmatrix &, const zssmatrix &)
_zgematrix operator+ (const zgbmatrix &, const _zssmatrix &)
_zgematrix operator+ (const zssmatrix &, const zgbmatrix &)
_zgematrix operator+ (const _zssmatrix &, const zgbmatrix &)
_zgbmatrix operator- (const zgbmatrix &, const zgbmatrix &)
_zgbmatrix operator- (const zgbmatrix &, const _zgbmatrix &)
_zgbmatrix operator- (const _zgbmatrix &, const zgbmatrix &)
_zgematrix operator- (const zgbmatrix &, const zgematrix &)
_zgematrix operator- (const zgbmatrix &, const _zgematrix &)
_zgematrix operator- (const zgematrix &, const zgbmatrix &)
_zgematrix operator- (const _zgematrix &, const zgbmatrix &)
_zgematrix operator- (const zgbmatrix &, const zhematrix &)
_zgematrix operator- (const zgbmatrix &, const _zhematrix &)
_zgematrix operator- (const zhematrix &, const zgbmatrix &)
_zgematrix operator- (const _zhematrix &, const zgbmatrix &)
_zgematrix operator- (const zgbmatrix &, const zssmatrix &)
_zgematrix operator- (const zgbmatrix &, const _zssmatrix &)
_zgematrix operator- (const zssmatrix &, const zgbmatrix &)
_zgematrix operator- (const _zssmatrix &, const zgbmatrix &)
_zgbmatrix operator* (const zgbmatrix &, const zgbmatrix &)
_zgbmatrix operator* (const zgbmatrix &, const _zgbmatrix &)
_zgbmatrix operator* (const _zgbmatrix &, const zgbmatrix &)
_zgematrix operator* (const zgbmatrix &, const zgematrix &)
_zgematrix operator* (const zgbmatrix &, const _zgematrix &)
_zgematrix operator* (const zgematrix &, const zgbmatrix &)
_zgematrix operator* (const _zgematrix &, const zgbmatrix &)
_zgematrix operator* (const zgbmatrix &, const zhematrix &)
_zgematrix operator* (const zgbmatrix &, const _zhematrix &)
_zgematrix operator* (const zhematrix &, const zgbmatrix &)
_zgematrix operator* (const _zhematrix &, const zgbmatrix &)
_zgematrix operator* (const zgbmatrix &, const zssmatrix &)
_zgematrix operator* (const zgbmatrix &, const _zssmatrix &)
_zgematrix operator* (const zssmatrix &, const zgbmatrix &)
_zgematrix operator* (const _zssmatrix &, const zgbmatrix &)
_zcovector operator* (const zgbmatrix &, const zcovector &)
_zcovector operator* (const zgbmatrix &, const _zcovector &)
_zrovector operator* (const zrovector &, const zgbmatrix &)
_zrovector operator* (const _zrovector &, const zgbmatrix &)
_zgbmatrix operator* (const zgbmatrix &, const double &)
_zgbmatrix operator* (const double &, const zgbmatrix &)
_zgbmatrix operator* (const zgbmatrix &, const std::complex< double > &)
_zgbmatrix operator* (const std::complex< double > &, const zgbmatrix &)
_zgbmatrix operator/ (const zgbmatrix &, const double &)
_zgbmatrix operator/ (const zgbmatrix &, const std::complex< double > &)


Detailed Description

Complex Double-precision General Band Matrix Class.

Definition at line 3 of file zgbmatrix.hpp.


Constructor & Destructor Documentation

zgbmatrix::zgbmatrix (  )  [inline]

zgbmatrix constructor

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

References _zrovector::Array.

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

zgbmatrix copy constructor

Definition at line 28 of file zgbmatrix-constructor.hpp.

References _zrovector::Array, i, and zcopy_.

zgbmatrix::zgbmatrix ( const _zgbmatrix mat  )  [inline]

zgbmatrix::zgbmatrix ( const long &  _m,
const long &  _n,
const long &  _kl,
const long &  _ku 
) [inline]

zgbmatrix constructor with size specification

Definition at line 79 of file zgbmatrix-constructor.hpp.

References _zrovector::Array, and i.

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

zgbmatrix constructor with filename

Definition at line 120 of file zgbmatrix-constructor.hpp.

References _zrovector::Array, and read().

zgbmatrix::~zgbmatrix (  )  [inline]

zgbmatrix destructor

Definition at line 146 of file zgbmatrix-constructor.hpp.

References _zrovector::Array.


Member Function Documentation

void zgbmatrix::chsign (  )  [inline]

change sign(+/-) of the matrix

Definition at line 63 of file zgbmatrix-misc.hpp.

References _zrovector::Array, and i.

void zgbmatrix::clear (  )  [inline]

clear all the matrix data and set the sizes 0

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

References _zrovector::Array.

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

make a deep copy of the matrix

Definition at line 74 of file zgbmatrix-misc.hpp.

References _zrovector::Array, i, and zcopy_.

Referenced by operator=().

void zgbmatrix::identity (  )  [inline]

change the matrix into an identity matrix

Definition at line 41 of file zgbmatrix-misc.hpp.

References _zrovector::Array, i, and operator()().

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

operator() for const object

Definition at line 26 of file zgbmatrix-io.hpp.

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

operator() for non-const object

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

Referenced by identity(), operator*=(), operator+=(), operator-=(), read(), write(), and zgbsv().

zgbmatrix & zgbmatrix::operator*= ( const std::complex< double > &  d  )  [inline]

zgbmatrix*=stdcomplex<double> operator

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

References _zrovector::Array, and zscal_.

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

zgbmatrix*=double operator

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

References _zrovector::Array, and zdscal_.

zgbmatrix & zgbmatrix::operator*= ( const _zgbmatrix mat  )  [inline]

zgbmatrix*=_zgbmatrix operator

Definition at line 120 of file zgbmatrix-_zgbmatrix.hpp.

References _zgbmatrix::destroy(), i, _zgbmatrix::KL, _zgbmatrix::KU, _zgbmatrix::M, CPPL::max(), CPPL::min(), _zgbmatrix::N, operator()(), swap, and zero().

zgbmatrix & zgbmatrix::operator*= ( const zgbmatrix mat  )  [inline]

zgbmatrix*=zgbmatrix operator

Definition at line 121 of file zgbmatrix-zgbmatrix.hpp.

References i, kl, ku, CPPL::max(), CPPL::min(), n, operator()(), swap, and zero().

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

zgbmatrix+=_zgbmatrix operator
If the band width of the left side matrix is narrower than the right side matrix, the band width of the left side matrix become thicker as same as the right side matrix.

Definition at line 21 of file zgbmatrix-_zgbmatrix.hpp.

References _zgbmatrix::destroy(), i, _zgbmatrix::KL, _zgbmatrix::KU, _zgbmatrix::M, CPPL::max(), CPPL::min(), _zgbmatrix::N, operator()(), swap, and zero().

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

zgbmatrix+=zgbmatrix operator
If the band width of the left side matrix is narrower than the right side matrix, the band width of the left side matrix become thicker as same as the right side matrix.

Definition at line 24 of file zgbmatrix-zgbmatrix.hpp.

References i, CPPL::max(), CPPL::min(), operator()(), swap, and zero().

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

zgbmatrix-=_zgbmatrix operator
If the band width of the left side matrix is narrower than the right side matrix, the band width of the left side matrix become thicker as same as the right side matrix.

Definition at line 71 of file zgbmatrix-_zgbmatrix.hpp.

References _zgbmatrix::destroy(), i, _zgbmatrix::KL, _zgbmatrix::KU, _zgbmatrix::M, CPPL::max(), CPPL::min(), _zgbmatrix::N, operator()(), swap, and zero().

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

zgbmatrix-=zgbmatrix operator
If the band width of the left side matrix is narrower than the right side matrix, the band width of the left side matrix become thicker as same as the right side matrix.

Definition at line 73 of file zgbmatrix-zgbmatrix.hpp.

References i, CPPL::max(), CPPL::min(), operator()(), swap, and zero().

zgbmatrix & zgbmatrix::operator/= ( const std::complex< double > &  d  )  [inline]

zgbmatrix/=stdcomplex<double> operator

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

References _zrovector::Array, and zscal_.

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

zgbmatrix/=double operator

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

References _zrovector::Array, and zdscal_.

zgbmatrix & zgbmatrix::operator= ( const _zgbmatrix mat  )  [inline]

zgbmatrix=_zgbmatrix operator

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

References shallow_copy().

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

zgbmatrix=zgbmatrix operator
The left side matrix is overwritten thoroughly including band width.

Definition at line 4 of file zgbmatrix-zgbmatrix.hpp.

References _zrovector::Array, and copy().

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

Definition at line 124 of file zgbmatrix-io.hpp.

References i, CPPL::max(), CPPL::min(), operator()(), and resize().

Referenced by zgbmatrix().

void zgbmatrix::resize ( const long &  _m,
const long &  _n,
const long &  _kl,
const long &  _ku 
) [inline]

resize the matrix

Definition at line 132 of file zgbmatrix-misc.hpp.

References _zrovector::Array, and i.

Referenced by read().

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

set value for const object

Definition at line 53 of file zgbmatrix-io.hpp.

void zgbmatrix::shallow_copy ( const _zgbmatrix mat  )  [inline]

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

Definition at line 107 of file zgbmatrix-misc.hpp.

References _zgbmatrix::Array, _zrovector::Array, _zgbmatrix::Darray, _zgbmatrix::KL, _zgbmatrix::KU, _zgbmatrix::M, and _zgbmatrix::N.

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

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

Definition at line 102 of file zgbmatrix-io.hpp.

References i, CPPL::max(), CPPL::min(), and operator()().

void zgbmatrix::zero (  )  [inline]

change the matrix into a zero matrix

Definition at line 29 of file zgbmatrix-misc.hpp.

References _zrovector::Array, and i.

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

long zgbmatrix::zgbsv ( zcovector vec  )  [inline]

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

Definition at line 45 of file zgbmatrix-lapack.hpp.

References i, CPPL::max(), CPPL::min(), n, operator()(), swap, and zgbsv_.

long zgbmatrix::zgbsv ( zgematrix mat  )  [inline]

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

Definition at line 5 of file zgbmatrix-lapack.hpp.

References i, CPPL::max(), CPPL::min(), n, operator()(), swap, and zgbsv_.

Referenced by i().


Friends And Related Function Documentation

_zgbmatrix _ ( zgbmatrix mat  )  [friend]

convert user object to smart-temporary object

Definition at line 183 of file zgbmatrix-misc.hpp.

friend class _zcovector [friend]

Definition at line 162 of file zgbmatrix.hpp.

friend class _zgbmatrix [friend]

Definition at line 158 of file zgbmatrix.hpp.

friend class _zgematrix [friend]

Definition at line 157 of file zgbmatrix.hpp.

friend class _zhematrix [friend]

Definition at line 160 of file zgbmatrix.hpp.

friend class _zrovector [friend]

Definition at line 164 of file zgbmatrix.hpp.

_zgbmatrix conj ( const zgbmatrix mat  )  [friend]

return its conjugate matrix

Definition at line 54 of file zgbmatrix-calc.hpp.

_zgbmatrix conjt ( const zgbmatrix mat  )  [friend]

return its conjugate transposed zgbmatrix

Definition at line 72 of file zgbmatrix-calc.hpp.

_zgematrix i ( const zgbmatrix mat  )  [friend]

return its inverse matrix

Definition at line 22 of file zgbmatrix-calc.hpp.

Referenced by chsign(), copy(), identity(), operator*=(), operator+=(), operator-=(), read(), resize(), write(), zero(), zgbmatrix(), and zgbsv().

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

std::complex<double>*zgbmatrix operator

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

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

zgbmatrix*stdcomplex<double> operator

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

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

double*zgbmatrix operator

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

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

zgbmatrix*double operator

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

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

_zrovector*zgbmatrix operator

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

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

zrovector*zgbmatrix operator

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

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

zgbmatrix*_zcovector operator

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

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

zgbmatrix*zcovector operator

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

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

_zssmatrix*zgbmatrix operator

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

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

zssmatrix*zgbmatrix operator

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

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

zgbmatrix*_zssmatrix operator

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

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

zgbmatrix*zssmatrix operator

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

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

_zgematrix*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 zgbmatrix matA,
const _zhematrix matB 
) [friend]

zgbmatrix*_zhematrix operator

Definition at line 71 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 _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 177 of file zgematrix-zgbmatrix.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.

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

_zgbmatrix*zgbmatrix operator

Definition at line 96 of file _zgbmatrix-zgbmatrix.hpp.

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

zgbmatrix*_zgbmatrix operator

Definition at line 241 of file zgbmatrix-_zgbmatrix.hpp.

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

zgbmatrix*zgbmatrix operator

Definition at line 228 of file zgbmatrix-zgbmatrix.hpp.

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

_zssmatrix+zgbmatrix operator

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

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

zssmatrix+zgbmatrix operator

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

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

zgbmatrix+_zssmatrix operator

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

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

zgbmatrix+zssmatrix operator

Definition at line 3 of file zgbmatrix-zssmatrix.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 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 _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 117 of file zgematrix-zgbmatrix.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.

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

_zgbmatrix+zgbmatrix operator

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

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

zgbmatrix+_zgbmatrix operator

Definition at line 160 of file zgbmatrix-_zgbmatrix.hpp.

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

zgbmatrix+zgbmatrix operator

Definition at line 160 of file zgbmatrix-zgbmatrix.hpp.

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

+zgbmatrix operator

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

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

_zssmatrix-zgbmatrix operator

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

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

zssmatrix-zgbmatrix operator

Definition at line 34 of file zssmatrix-zgbmatrix.hpp.

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

zgbmatrix-_zssmatrix operator

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

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

zgbmatrix-zssmatrix operator

Definition at line 34 of file zgbmatrix-zssmatrix.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 zgbmatrix matA,
const _zhematrix matB 
) [friend]

zgbmatrix-_zhematrix operator

Definition at line 37 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 _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 147 of file zgematrix-zgbmatrix.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.

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

_zgbmatrix-zgbmatrix operator

Definition at line 50 of file _zgbmatrix-zgbmatrix.hpp.

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

zgbmatrix-_zgbmatrix operator

Definition at line 206 of file zgbmatrix-_zgbmatrix.hpp.

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

zgbmatrix-zgbmatrix operator

Definition at line 194 of file zgbmatrix-zgbmatrix.hpp.

_zgbmatrix operator- ( const zgbmatrix mat  )  [friend]

-zgbmatrix operator

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

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

zgbmatrix/stdcomplex<double> operator

Definition at line 50 of file zgbmatrix-complex.hpp.

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

zgbmatrix/double operator

Definition at line 50 of file zgbmatrix-double.hpp.

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

Definition at line 79 of file zgbmatrix-io.hpp.

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

swap two matrices

Definition at line 167 of file zgbmatrix-misc.hpp.

Referenced by operator*=(), operator+=(), operator-=(), and zgbsv().

_zgbmatrix t ( const zgbmatrix mat  )  [friend]

return transposed zgbmatrix

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

friend class zcovector [friend]

Definition at line 161 of file zgbmatrix.hpp.

friend class zgematrix [friend]

Definition at line 156 of file zgbmatrix.hpp.

friend class zhematrix [friend]

Definition at line 159 of file zgbmatrix.hpp.

friend class zrovector [friend]

Definition at line 163 of file zgbmatrix.hpp.


Member Data Documentation

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

1D array to store matrix data (readable)

Definition at line 20 of file zgbmatrix.hpp.

Referenced by dgbmatrix::operator _zgbmatrix(), _dgbmatrix::operator _zgbmatrix(), operator*(), operator-(), and operator/().

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

array of pointers of column head addresses (readable)

Definition at line 21 of file zgbmatrix.hpp.

long const& zgbmatrix::kl

lower band width (readable)

Definition at line 18 of file zgbmatrix.hpp.

Referenced by conjt(), operator*(), operator*=(), operator-(), operator/(), and t().

long const& zgbmatrix::ku

upper band width (readable)

Definition at line 19 of file zgbmatrix.hpp.

Referenced by conjt(), operator*(), operator*=(), operator-(), operator/(), and t().

long const& zgbmatrix::m

matrix row size (readable)

Definition at line 16 of file zgbmatrix.hpp.

Referenced by conjt(), operator*(), and t().

long const& zgbmatrix::n

matrix column size (readable)

Definition at line 17 of file zgbmatrix.hpp.

Referenced by conjt(), operator*(), operator*=(), operator-(), operator/(), t(), and zgbsv().


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