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

real_matrix Class Reference

#include <table.h>

List of all members.

Public Methods

 real_matrix (const int n=DEFAULT_MATRIX_SIZE)
 real_matrix (const int n, const v_index_mode t)
 real_matrix (const int n, const int m)
 real_matrix (const int n, const int m, const v_index_mode t)
 real_matrix (const int n, const int m, const v_index_mode tl, const v_index_mode tr)
 real_matrix (const real_matrix &B)
 real_matrix (const real_vector &v)
 real_matrix (const datafile &D)
 ~real_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
real_matrix& make_empty ()
double read (const int i, const int j) const
double& get (const int i, const int j)
const double& get (const int i, const int j) const
double* const& operator[] (const int i)
const double* const& operator[] (const int i) const
real_matrix& reindex (const v_index_mode, const v_index_mode)
real_matrix& reallocate (const int n, const int m, const v_index_mode tl, const v_index_mode tr)
real_matrix& reallocate (const int n)
real_matrix& reallocate (const int n, const int m)
real_matrix& resize (const int Lmax, const int Rmax)
real_matrix& resize (const int Max)
real_matrix& resize (const real_matrix &B)
real_matrix& resize (const complex_matrix &B)
real_matrix& copy (const real_matrix &B)
real_matrix& operator= (const real_matrix &B)
real_matrix& operator= (const datafile &D)
real_matrix& clean (void)
real_matrix& fill (const double s)
real_matrix& operator= (const double s)
real_matrix& fillall (const double s)
real_matrix& fillrow (const int n, const real_vector &v)
real_matrix& fillcol (const int n, const real_vector &v)
real_matrix& diagonal (const double s)
real_matrix& rowswap (const int n, const int m)
real_matrix& apply (double(*f)(double))
real_matrix& apply (double(*f)(const double &))
real_matrix& apply (double(*f)(double, int, int))
real_matrix& apply (double(*f)(const double &, int, int))
real_matrix& operator+= (const double s)
real_matrix& operator-= (const double s)
real_matrix& operator *= (const double s)
real_matrix& operator/= (const double s)
real_matrix& operator+= (const real_matrix &B)
real_matrix& operator-= (const real_matrix &B)
real_matrix& add (const real_matrix &B, const real_matrix &C)
real_matrix& sub (const real_matrix &B, const real_matrix &C)
real_matrix& real (const complex_matrix &B)
real_matrix& imaginary (const complex_matrix &B)
real_matrix& show (ostream &)
real_matrix& show (void)
const real_matrix& show (ostream &) const
const real_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 double 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
double* * data
double* * delete_pointer_data
double* delete_pointer_rows
double trash
double* trashptr


Constructor & Destructor Documentation

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

Definition at line 698 of file table.h.

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

Definition at line 703 of file table.h.

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

Definition at line 708 of file table.h.

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

Definition at line 713 of file table.h.

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

Definition at line 718 of file table.h.

real_matrix::real_matrix ( const real_matrix & B )
 

Definition at line 249 of file table.cc.

real_matrix::real_matrix ( const real_vector & v )
 

Definition at line 270 of file table.cc.

real_matrix::real_matrix ( const datafile & D )
 

Definition at line 285 of file table.cc.

real_matrix::~real_matrix ( void ) [inline]
 

Definition at line 731 of file table.h.


Member Function Documentation

int real_matrix::Lmaxindex ( const int n )
 

Definition at line 442 of file table.cc.

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

Definition at line 738 of file table.h.

Referenced by Lmaxindex(), add(), clean(), col(), constfill(), complex_interp::construct(), complex_matrix::copy(), copy(), ivcurve::data(), fillcol(), fillrow(), get(), imaginary(), inverse(), is_empty(), linterp(), max_norm(), maxindex(), norm(), operator *(), complex_matrix::operator+=(), operator+=(), complex_matrix::operator-=(), operator-=(), operator<<(), complex_matrix::operator=(), operator=(), read(), real(), real_matrix(), complex_matrix::resize(), resize(), scalerow(), sizecheck(), newton::solve(), solve(), sub(), and transpose().

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

Definition at line 737 of file table.h.

Referenced by augment(), clean(), constfill(), complex_interp::construct(), complex_matrix::copy(), copy(), copyresult(), ivcurve::data(), fillcol(), fillrow(), get(), imaginary(), is_empty(), max_norm(), norm(), operator *(), complex_matrix::operator+=(), operator+=(), complex_matrix::operator-=(), operator-=(), operator<<(), read(), real(), real_matrix(), sizecheck(), newton::solve(), and transpose().

int real_matrix::Rmaxindex ( const int n )
 

Definition at line 467 of file table.cc.

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

Definition at line 741 of file table.h.

Referenced by Rmaxindex(), add(), clean(), constfill(), complex_interp::construct(), complex_matrix::copy(), copy(), ivcurve::data(), fillcol(), fillrow(), ckdata::find_max_bessel_n(), get(), imaginary(), inverse(), is_empty(), linterp(), lookup(), max_norm(), maxindex(), norm(), operator *(), complex_matrix::operator+=(), operator+=(), complex_matrix::operator-=(), operator-=(), operator<<(), complex_matrix::operator=(), operator=(), read(), real(), real_matrix(), complex_matrix::resize(), resize(), row(), scalerow(), sizecheck(), newton::solve(), solve(), sub(), and transpose().

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

Definition at line 740 of file table.h.

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

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

Definition at line 754 of file table.cc.

Referenced by operator+().

real_matrix & real_matrix::apply ( double(* f)(const double &, int, int) )
 

Definition at line 1039 of file table.cc.

real_matrix & real_matrix::apply ( double(* f)(double, int, int) )
 

Definition at line 1027 of file table.cc.

real_matrix & real_matrix::apply ( double(* f)(const double &) )
 

Definition at line 1013 of file table.cc.

real_matrix & real_matrix::apply ( double(* f)(double) )
 

Definition at line 999 of file table.cc.

real_matrix & real_matrix::clean ( void )
 

Definition at line 916 of file table.cc.

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

void real_matrix::constfill ( const double f ) [private]
 

Definition at line 394 of file table.cc.

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

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

Definition at line 145 of file table.cc.

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

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

Definition at line 537 of file table.cc.

Referenced by operator=().

real_matrix & real_matrix::diagonal ( const double s )
 

Definition at line 949 of file table.cc.

Referenced by identity_matrix(), inverse(), and powell::minimize().

real_matrix & real_matrix::fill ( const double s ) [inline]
 

Definition at line 843 of file table.h.

Referenced by add(), diagonal(), operator=(), and sub().

real_matrix & real_matrix::fillall ( const double f )
 

Definition at line 404 of file table.cc.

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

Definition at line 430 of file table.cc.

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

Definition at line 421 of file table.cc.

const double & real_matrix::get ( const int i,
const int j ) const [inline]
 

Definition at line 782 of file table.h.

double & real_matrix::get ( const int i,
const int j ) [inline]
 

Definition at line 773 of file table.h.

Referenced by add(), diagonal(), and sub().

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

Definition at line 897 of file table.cc.

int real_matrix::is_empty ( ) const [inline]
 

Definition at line 757 of file table.h.

Referenced by complex_matrix::copy(), copy(), and real_matrix().

real_matrix & real_matrix::make_empty ( )
 

Definition at line 492 of file table.cc.

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

int real_matrix::maximize ( void ) [inline]
 

Definition at line 755 of file table.h.

Referenced by add(), operator=(), and sub().

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

Definition at line 753 of file table.h.

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

Definition at line 748 of file table.h.

Referenced by clean(), copy(), diagonal(), fillall(), maximize(), and maxindex().

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

Definition at line 743 of file table.h.

Referenced by diagonal().

real_matrix & real_matrix::operator *= ( const double s )
 

Definition at line 685 of file table.cc.

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

Definition at line 713 of file table.cc.

real_matrix & real_matrix::operator+= ( const double s )
 

Definition at line 657 of file table.cc.

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

Definition at line 732 of file table.cc.

real_matrix & real_matrix::operator-= ( const double s )
 

Definition at line 671 of file table.cc.

real_matrix & real_matrix::operator/= ( const double s )
 

Definition at line 699 of file table.cc.

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

Definition at line 844 of file table.h.

real_matrix & real_matrix::operator= ( const datafile & D )
 

Definition at line 649 of file table.cc.

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

Definition at line 630 of file table.cc.

const double *const & real_matrix::operator[] ( const int i ) const [inline]
 

Definition at line 794 of file table.h.

double *const & real_matrix::operator[] ( const int i ) [inline]
 

Definition at line 791 of file table.h.

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

Definition at line 139 of file table.cc.

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

Definition at line 136 of file table.cc.

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

Definition at line 133 of file table.cc.

string real_matrix::out_separator ( ) [static]
 

Definition at line 130 of file table.cc.

double real_matrix::read ( const int i,
const int j ) const [inline]
 

Definition at line 764 of file table.h.

Referenced by col(), linterp(), lookup(), datafile::read(), and row().

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

Definition at line 881 of file table.cc.

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

Definition at line 815 of file table.h.

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

Definition at line 813 of file table.h.

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

Definition at line 568 of file table.cc.

Referenced by add(), datafile::datafile(), reallocate(), reindex(), resize(), solve(), and sub().

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

Definition at line 307 of file table.cc.

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

Definition at line 620 of file table.cc.

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

Definition at line 824 of file table.h.

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

Definition at line 823 of file table.h.

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

Definition at line 817 of file table.h.

Referenced by add(), ckdata::find_max_bessel_n(), imaginary(), inverse(), operator *(), datafile::operator=(), real(), resize(), sub(), and transpose().

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

Definition at line 959 of file table.cc.

Referenced by pivot().

const real_matrix & real_matrix::show ( void ) const
 

Definition at line 125 of file table.cc.

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

Definition at line 119 of file table.cc.

const real_matrix & real_matrix::show ( void )
 

Definition at line 114 of file table.cc.

Referenced by show().

real_matrix & real_matrix::show ( ostream & s )
 

Definition at line 108 of file table.cc.

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

Definition at line 817 of file table.cc.

Referenced by operator-().


Member Data Documentation

int real_matrix::Lmaxindexvalue [private]
 

Definition at line 887 of file table.h.

int real_matrix::Lminindexvalue [private]
 

Definition at line 888 of file table.h.

const v_index_mode & real_matrix::Lmode
 

Definition at line 692 of file table.h.

const int & real_matrix::Lsize
 

Definition at line 690 of file table.h.

int real_matrix::Rmaxindexvalue [private]
 

Definition at line 889 of file table.h.

int real_matrix::Rminindexvalue [private]
 

Definition at line 890 of file table.h.

const v_index_mode & real_matrix::Rmode
 

Definition at line 693 of file table.h.

const int & real_matrix::Rsize
 

Definition at line 691 of file table.h.

double ** real_matrix::data [private]
 

Definition at line 891 of file table.h.

double ** real_matrix::delete_pointer_data [private]
 

Definition at line 892 of file table.h.

double * real_matrix::delete_pointer_rows [private]
 

Definition at line 893 of file table.h.

v_index_mode real_matrix::internal_Lmode [private]
 

Definition at line 885 of file table.h.

int real_matrix::internal_Lsize [private]
 

Definition at line 883 of file table.h.

v_index_mode real_matrix::internal_Rmode [private]
 

Definition at line 886 of file table.h.

int real_matrix::internal_Rsize [private]
 

Definition at line 884 of file table.h.

double real_matrix::trash [mutable, private]
 

Definition at line 894 of file table.h.

double * real_matrix::trashptr [private]
 

Definition at line 895 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