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

complex_matrix Class Reference

#include <table.h>

List of all members.

Public Methods

 complex_matrix (const int n=DEFAULT_MATRIX_SIZE)
 complex_matrix (const int n, const v_index_mode t)
 complex_matrix (const int n, const int m)
 complex_matrix (const int n, const int m, const v_index_mode t)
 complex_matrix (const int n, const int m, const v_index_mode tl, const v_index_mode tr)
 complex_matrix (const complex_matrix &B)
 complex_matrix (const real_matrix &B)
 complex_matrix (const real_vector &v)
 complex_matrix (const complex_vector &v)
 ~complex_matrix (void)
int Lminindex (void) const
int Lmaxindex (void) const
int Lmaxindex (const int n)
int Rminindex (void) const
int Rmaxindex (void) const
int Rmaxindex (const int n)
int minindex (void) const
int maxindex (void) const
int maxindex (int n)
int maximize (void)
int is_empty () const
complex_matrix& make_empty ()
Complex read (const int i, const int j) const
Complexget (const int i, const int j)
const Complexget (const int i, const int j) const
Complex* const& operator[] (const int i)
const Complex* const& operator[] (const int i) const
complex_matrix& reindex (const v_index_mode, const v_index_mode)
complex_matrix& reallocate (const int n, const int m, const v_index_mode tl, const v_index_mode tr)
complex_matrix& reallocate (const int n)
complex_matrix& reallocate (const int n, const int m)
complex_matrix& resize (const int Lmax, const int Rmax)
complex_matrix& resize (const int Max)
complex_matrix& resize (const complex_matrix &B)
complex_matrix& resize (const real_matrix &B)
complex_matrix& copy (const complex_matrix &B)
complex_matrix& copy (const real_matrix &B)
complex_matrix& operator= (const complex_matrix &B)
complex_matrix& operator= (const real_matrix &B)
complex_matrix& clean (void)
complex_matrix& fill (const Complex s)
complex_matrix& operator= (const Complex s)
complex_matrix& operator= (const double s)
complex_matrix& fillall (const Complex s)
complex_matrix& fillrow (const int n, const real_vector &v)
complex_matrix& fillrow (const int n, const complex_vector &v)
complex_matrix& fillcol (const int n, const real_vector &v)
complex_matrix& fillcol (const int n, const complex_vector &v)
complex_matrix& diagonal (const Complex s)
complex_matrix& rowswap (const int n, const int m)
complex_matrix& apply (Complex(*f)(Complex))
complex_matrix& apply (Complex(*f)(const Complex &))
complex_matrix& apply (Complex(*f)(Complex, int, int))
complex_matrix& apply (Complex(*f)(const Complex &, int, int))
complex_matrix& operator+= (const Complex s)
complex_matrix& operator-= (const Complex s)
complex_matrix& operator *= (const Complex s)
complex_matrix& operator/= (const Complex s)
complex_matrix& operator+= (const complex_matrix &B)
complex_matrix& operator-= (const complex_matrix &B)
complex_matrix& operator+= (const real_matrix &B)
complex_matrix& operator-= (const real_matrix &B)
complex_matrix& add (const complex_matrix &B, const complex_matrix &C)
complex_matrix& add (const complex_matrix &B, const real_matrix &C)
complex_matrix& add (const real_matrix &B, const complex_matrix &C)
complex_matrix& add (const real_matrix &B, const real_matrix &C)
complex_matrix& sub (const complex_matrix &B, const complex_matrix &C)
complex_matrix& sub (const complex_matrix &B, const real_matrix &C)
complex_matrix& sub (const real_matrix &B, const complex_matrix &C)
complex_matrix& sub (const real_matrix &B, const real_matrix &C)
complex_matrix& real (const complex_matrix &B)
complex_matrix& imaginary (const complex_matrix &B)
complex_matrix& show (ostream &)
complex_matrix& show (void)
const complex_matrix& show (ostream &) const
const complex_matrix& show (void) const

Public Attributes

const int& Lsize
const int& Rsize
const v_index_modeLmode
const v_index_modeRmode

Static Public Methods

string out_separator ()
string out_separator (const string &)
string out_separator (const char *const)
string out_separator (const char)

Private Methods

void construct (const int n, const int m, const v_index_mode tl, const v_index_mode tr)
void constfill (const Complex f)

Private Attributes

int internal_Lsize
int internal_Rsize
v_index_mode internal_Lmode
v_index_mode internal_Rmode
int Lmaxindexvalue
int Lminindexvalue
int Rmaxindexvalue
int Rminindexvalue
Complex* * data
Complex* * delete_pointer_data
Complexdelete_pointer_rows
Complex trash
Complextrashptr


Constructor & Destructor Documentation

complex_matrix::complex_matrix ( const int n = DEFAULT_MATRIX_SIZE ) [inline, explicit]
 

Definition at line 923 of file table.h.

complex_matrix::complex_matrix ( const int n,
const v_index_mode t ) [inline]
 

Definition at line 928 of file table.h.

complex_matrix::complex_matrix ( const int n,
const int m ) [inline]
 

Definition at line 933 of file table.h.

complex_matrix::complex_matrix ( const int n,
const int m,
const v_index_mode t ) [inline]
 

Definition at line 938 of file table.h.

complex_matrix::complex_matrix ( const int n,
const int m,
const v_index_mode tl,
const v_index_mode tr ) [inline]
 

Definition at line 943 of file table.h.

complex_matrix::complex_matrix ( const complex_matrix & B )
 

Definition at line 1219 of file table.cc.

complex_matrix::complex_matrix ( const real_matrix & B )
 

Definition at line 1240 of file table.cc.

complex_matrix::complex_matrix ( const real_vector & v )
 

Definition at line 1261 of file table.cc.

complex_matrix::complex_matrix ( const complex_vector & v )
 

Definition at line 1276 of file table.cc.

complex_matrix::~complex_matrix ( void ) [inline]
 

Definition at line 956 of file table.h.


Member Function Documentation

int complex_matrix::Lmaxindex ( const int n )
 

Definition at line 1447 of file table.cc.

int complex_matrix::Lmaxindex ( void ) const [inline]
 

Definition at line 963 of file table.h.

Referenced by IminusM(), IplusM(), Lmaxindex(), MAMdagger(), MMdagger(), S_renormalize(), sdata::change_norm(), clean(), col(), complex_matrix(), constfill(), complex_interp::construct(), copy(), fillcol(), fillrow(), get(), two_match::get(), input_tn::get(), s_mag::get(), gain_dB::get(), imaginary(), real_matrix::imaginary(), inverse(), is_empty(), linterp(), max_norm(), maxindex(), norm(), operator *(), operator+=(), operator-=(), operator<<(), operator=(), sdata::passive_noise(), read(), real(), real_matrix::real(), resize(), real_matrix::resize(), scalerow(), sdata::sdata(), ydata::size(), zdata::size(), sdata::size(), sizecheck(), solve(), and transpose().

int complex_matrix::Lminindex ( void ) const [inline]
 

Definition at line 962 of file table.h.

Referenced by IminusM(), IplusM(), MAMdagger(), MMdagger(), augment(), clean(), complex_matrix(), constfill(), complex_interp::construct(), copy(), copyresult(), fillcol(), fillrow(), get(), two_match::get(), imaginary(), is_empty(), max_norm(), norm(), operator *(), operator+=(), operator-=(), operator<<(), sdata::passive_noise(), read(), real(), sizecheck(), and transpose().

int complex_matrix::Rmaxindex ( const int n )
 

Definition at line 1472 of file table.cc.

int complex_matrix::Rmaxindex ( void ) const [inline]
 

Definition at line 966 of file table.h.

Referenced by Rmaxindex(), ckdata::calc(), sdata::change_norm(), clean(), complex_matrix(), constfill(), complex_interp::construct(), convC(), copy(), fillcol(), fillrow(), get(), two_match::get(), input_tn::get(), s_mag::get(), gain_dB::get(), imaginary(), real_matrix::imaginary(), mixer::initialize_operating_state(), inverse(), is_empty(), linterp(), lookup(), max_norm(), maxindex(), norm(), operator *(), operator+=(), operator-=(), operator<<(), operator=(), sdata::passive_noise(), read(), real(), real_matrix::real(), resize(), real_matrix::resize(), row(), scalerow(), sdata::sdata(), sizecheck(), solve(), and transpose().

int complex_matrix::Rminindex ( void ) const [inline]
 

Definition at line 965 of file table.h.

Referenced by augment(), clean(), complex_matrix(), constfill(), complex_interp::construct(), copy(), copyresult(), fillcol(), fillrow(), get(), two_match::get(), imaginary(), is_empty(), lookup(), max_norm(), norm(), operator *(), operator+=(), operator-=(), sdata::passive_noise(), read(), real(), scalerow(), sizecheck(), and transpose().

complex_matrix & complex_matrix::add ( const real_matrix & B,
const real_matrix & C )
 

Definition at line 1932 of file table.cc.

complex_matrix & complex_matrix::add ( const real_matrix & B,
const complex_matrix & C ) [inline]
 

Definition at line 1103 of file table.h.

complex_matrix & complex_matrix::add ( const complex_matrix & B,
const real_matrix & C )
 

Definition at line 1886 of file table.cc.

complex_matrix & complex_matrix::add ( const complex_matrix & B,
const complex_matrix & C )
 

Definition at line 1822 of file table.cc.

Referenced by add(), and operator+().

complex_matrix & complex_matrix::apply ( Complex(* f)(const Complex &, int, int) )
 

Definition at line 2303 of file table.cc.

complex_matrix & complex_matrix::apply ( Complex(* f)(Complex, int, int) )
 

Definition at line 2291 of file table.cc.

complex_matrix & complex_matrix::apply ( Complex(* f)(const Complex &) )
 

Definition at line 2277 of file table.cc.

complex_matrix & complex_matrix::apply ( Complex(* f)(Complex) )
 

Definition at line 2263 of file table.cc.

complex_matrix & complex_matrix::clean ( void )
 

Definition at line 2180 of file table.cc.

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

void complex_matrix::constfill ( const Complex f ) [private]
 

Definition at line 1381 of file table.cc.

Referenced by complex_matrix(), copy(), fill(), and fillall().

void complex_matrix::construct ( const int n,
const int m,
const v_index_mode tl,
const v_index_mode tr ) [private]
 

Definition at line 1116 of file table.cc.

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

complex_matrix & complex_matrix::copy ( const real_matrix & B )
 

Definition at line 1569 of file table.cc.

complex_matrix & complex_matrix::copy ( const complex_matrix & B )
 

Definition at line 1542 of file table.cc.

Referenced by operator=().

complex_matrix & complex_matrix::diagonal ( const Complex s )
 

Definition at line 2213 of file table.cc.

Referenced by inverse().

complex_matrix & complex_matrix::fill ( const Complex s ) [inline]
 

Definition at line 1074 of file table.h.

Referenced by diagonal(), operator=(), and sdata_interp::recalc_S().

complex_matrix & complex_matrix::fillall ( const Complex f )
 

Definition at line 1391 of file table.cc.

Referenced by ckdata::calc().

complex_matrix & complex_matrix::fillcol ( const int n,
const complex_vector & v )
 

Definition at line 1435 of file table.cc.

complex_matrix & complex_matrix::fillcol ( const int n,
const real_vector & v )
 

Definition at line 1426 of file table.cc.

Referenced by mixer::balancer::i_state().

complex_matrix & complex_matrix::fillrow ( const int n,
const complex_vector & v )
 

Definition at line 1417 of file table.cc.

complex_matrix & complex_matrix::fillrow ( const int n,
const real_vector & v )
 

Definition at line 1408 of file table.cc.

Referenced by mixer::save_operating_state().

const Complex & complex_matrix::get ( const int i,
const int j ) const [inline]
 

Definition at line 1007 of file table.h.

Complex & complex_matrix::get ( const int i,
const int j ) [inline]
 

Definition at line 998 of file table.h.

Referenced by diagonal().

complex_matrix & complex_matrix::imaginary ( const complex_matrix & B )
 

Definition at line 2159 of file table.cc.

int complex_matrix::is_empty ( ) const [inline]
 

Definition at line 982 of file table.h.

Referenced by copy(), imaginary(), real_matrix::imaginary(), real(), and real_matrix::real().

complex_matrix & complex_matrix::make_empty ( )
 

Definition at line 1497 of file table.cc.

Referenced by complex_matrix(), copy(), imaginary(), and real().

int complex_matrix::maximize ( void ) [inline]
 

Definition at line 980 of file table.h.

Referenced by operator=(), mixer::analyzer::rebuild(), and mixer::save_operating_state().

int complex_matrix::maxindex ( int n ) [inline]
 

Definition at line 978 of file table.h.

int complex_matrix::maxindex ( void ) const [inline]
 

Definition at line 973 of file table.h.

Referenced by clean(), copy(), diagonal(), fillall(), reduced_nport::matrix_reduce(), maximize(), maxindex(), ydata::ydata(), and zdata::zdata().

int complex_matrix::minindex ( void ) const [inline]
 

Definition at line 968 of file table.h.

Referenced by diagonal(), and reduced_nport::matrix_reduce().

complex_matrix & complex_matrix::operator *= ( const Complex s )
 

Definition at line 1714 of file table.cc.

complex_matrix & complex_matrix::operator+= ( const real_matrix & B )
 

Definition at line 1780 of file table.cc.

complex_matrix & complex_matrix::operator+= ( const complex_matrix & B )
 

Definition at line 1742 of file table.cc.

complex_matrix & complex_matrix::operator+= ( const Complex s )
 

Definition at line 1686 of file table.cc.

complex_matrix & complex_matrix::operator-= ( const real_matrix & B )
 

Definition at line 1799 of file table.cc.

complex_matrix & complex_matrix::operator-= ( const complex_matrix & B )
 

Definition at line 1761 of file table.cc.

complex_matrix & complex_matrix::operator-= ( const Complex s )
 

Definition at line 1700 of file table.cc.

complex_matrix & complex_matrix::operator/= ( const Complex s )
 

Definition at line 1728 of file table.cc.

complex_matrix & complex_matrix::operator= ( const double s ) [inline]
 

Definition at line 1076 of file table.h.

complex_matrix & complex_matrix::operator= ( const Complex s ) [inline]
 

Definition at line 1075 of file table.h.

complex_matrix & complex_matrix::operator= ( const real_matrix & B )
 

Definition at line 1667 of file table.cc.

complex_matrix & complex_matrix::operator= ( const complex_matrix & B )
 

Definition at line 1648 of file table.cc.

const Complex *const & complex_matrix::operator[] ( const int i ) const [inline]
 

Definition at line 1019 of file table.h.

Complex *const & complex_matrix::operator[] ( const int i ) [inline]
 

Definition at line 1016 of file table.h.

string complex_matrix::out_separator ( const s ) [static]
 

Definition at line 1110 of file table.cc.

string complex_matrix::out_separator ( const char * const ) [static]
 

Definition at line 1107 of file table.cc.

string complex_matrix::out_separator ( const string & s ) [static]
 

Definition at line 1104 of file table.cc.

string complex_matrix::out_separator ( ) [static]
 

Definition at line 1101 of file table.cc.

Complex complex_matrix::read ( const int i,
const int j ) const [inline]
 

Definition at line 989 of file table.h.

Referenced by sdata::SdB(), mixer::balancer::Y(), col(), convC(), two_match::get(), input_tn::get(), s_mag::get(), gain_dB::get(), linterp(), lookup(), twin_slot_antenna::recalc_S(), row(), and sdata::tn().

complex_matrix & complex_matrix::real ( const complex_matrix & B )
 

Definition at line 2141 of file table.cc.

complex_matrix & complex_matrix::reallocate ( const int n,
const int m ) [inline]
 

Definition at line 1040 of file table.h.

complex_matrix & complex_matrix::reallocate ( const int n ) [inline]
 

Definition at line 1038 of file table.h.

complex_matrix & complex_matrix::reallocate ( const int n,
const int m,
const v_index_mode tl,
const v_index_mode tr )
 

Definition at line 1596 of file table.cc.

Referenced by reallocate(), mixer::analyzer::rebuild(), reindex(), resize(), mixer::save_operating_state(), and solve().

complex_matrix & complex_matrix::reindex ( const Lnew,
const Rnew )
 

Definition at line 1294 of file table.cc.

Referenced by sdata::reindex().

complex_matrix & complex_matrix::resize ( const real_matrix & B ) [inline]
 

Definition at line 1056 of file table.h.

complex_matrix & complex_matrix::resize ( const complex_matrix & B ) [inline]
 

Definition at line 1050 of file table.h.

complex_matrix & complex_matrix::resize ( const int Max ) [inline]
 

Definition at line 1048 of file table.h.

complex_matrix & complex_matrix::resize ( const int Lmax,
const int Rmax ) [inline]
 

Definition at line 1042 of file table.h.

Referenced by ckdata::calc(), imaginary(), inverse(), operator *(), sdata::passive_noise(), real(), mixer::balancer::rebuild(), resize(), sdata::resize(), sdata::sdata(), and transpose().

complex_matrix & complex_matrix::rowswap ( const int n,
const int m )
 

Definition at line 2223 of file table.cc.

Referenced by pivot().

const complex_matrix & complex_matrix::show ( void ) const
 

Definition at line 1096 of file table.cc.

const complex_matrix & complex_matrix::show ( ostream & s ) const
 

Definition at line 1090 of file table.cc.

const complex_matrix & complex_matrix::show ( void )
 

Definition at line 1085 of file table.cc.

Referenced by show().

complex_matrix & complex_matrix::show ( ostream & s )
 

Definition at line 1079 of file table.cc.

complex_matrix & complex_matrix::sub ( const real_matrix & B,
const real_matrix & C )
 

Definition at line 2116 of file table.cc.

complex_matrix & complex_matrix::sub ( const real_matrix & B,
const complex_matrix & C )
 

Definition at line 2069 of file table.cc.

complex_matrix & complex_matrix::sub ( const complex_matrix & B,
const real_matrix & C )
 

Definition at line 2023 of file table.cc.

complex_matrix & complex_matrix::sub ( const complex_matrix & B,
const complex_matrix & C )
 

Definition at line 1958 of file table.cc.

Referenced by operator-().


Member Data Documentation

int complex_matrix::Lmaxindexvalue [private]
 

Definition at line 1131 of file table.h.

int complex_matrix::Lminindexvalue [private]
 

Definition at line 1132 of file table.h.

const v_index_mode & complex_matrix::Lmode
 

Definition at line 917 of file table.h.

const int & complex_matrix::Lsize
 

Definition at line 915 of file table.h.

int complex_matrix::Rmaxindexvalue [private]
 

Definition at line 1133 of file table.h.

int complex_matrix::Rminindexvalue [private]
 

Definition at line 1134 of file table.h.

const v_index_mode & complex_matrix::Rmode
 

Definition at line 918 of file table.h.

const int & complex_matrix::Rsize
 

Definition at line 916 of file table.h.

Complex ** complex_matrix::data [private]
 

Definition at line 1135 of file table.h.

Complex ** complex_matrix::delete_pointer_data [private]
 

Definition at line 1136 of file table.h.

Complex * complex_matrix::delete_pointer_rows [private]
 

Definition at line 1137 of file table.h.

v_index_mode complex_matrix::internal_Lmode [private]
 

Definition at line 1129 of file table.h.

int complex_matrix::internal_Lsize [private]
 

Definition at line 1127 of file table.h.

v_index_mode complex_matrix::internal_Rmode [private]
 

Definition at line 1130 of file table.h.

int complex_matrix::internal_Rsize [private]
 

Definition at line 1128 of file table.h.

Complex complex_matrix::trash [mutable, private]
 

Definition at line 1138 of file table.h.

Complex * complex_matrix::trashptr [private]
 

Definition at line 1139 of file table.h.


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

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7