Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

SparseBlackBoxDom Class Template Reference

#include <sparse1.h>

template<class Domain, class I = unsigned long>
class SparseBlackBoxDom< Domain, I >


Public Types

typedef Domain Domain_t
typedef Domain Field
typedef Domain::Element Type_t
typedef _SP_BB_VECTOR_< Sparse_Vector<
Type_t, I > > 
Element
typedef Sparse_Vector< Type_t,
I > 
Row_t
typedef Sparse_Vector< Type_t,
I > 
value_type
typedef SparseBlackBoxDom<
Domain, I > 
Self_t
typedef _SP_BB_VECTOR_< Type_tPreferredInMatrix_t
typedef _SP_BB_VECTOR_< Type_tPreferredOutMatrix_t

Public Member Functions

 SparseBlackBoxDom ()
 SparseBlackBoxDom (const Domain &D)
 SparseBlackBoxDom (const Domain &D, char *mat_file)
 SparseBlackBoxDom (const Self_t &M)
const Domain_tgetdomain () const
const Domain_tfield () const
size_t n_row (const Rep &a) const
size_t n_col (const Rep &a) const
size_t n_elem (const Rep &a) const
size_t size () const
size_t n_row () const
size_t n_col () const
size_t rowdim () const
size_t coldim () const
size_t n_elem () const
double lognorm () const
Repinit (Rep &a, char *mat_file) const
void init (Rep &a)
Repinit (char *mat_file)
Repread (Rep &ca, I &ni, I &nj, I &ne, double &lognorm, char *mat_file) const
void read (I &ni, I &nj, char *mat_file) const
Repread (char *mat_file)
Repread_transpose (Rep &ca, I &ni, I &nj, I &ne, char *mat_file)
Repread_transpose (char *mat_file)
void write (char *O_File_Name, const Rep &ca) const
void write (char *O_File_Name) const
Repread (std::istream &is, Rep &ca, I &ni, I &nj, I &ne) const
Repread (std::istream &is)
std::ostream & write (std::ostream &os, const Rep &ca) const
std::ostream & write (std::ostream &os) const
template<class OutMatrix, class InMatrix> OutMatrix & apply (OutMatrix &res, const InMatrix &vect, const Rep &ca) const
template<class OutMatrix, class InMatrix> OutMatrix & apply (OutMatrix &res, const InMatrix &vect) const
template<class OutMatrix, class InMatrix> OutMatrix & applyTranspose (OutMatrix &res, const InMatrix &vect, const Rep &ca) const
template<class OutMatrix, class InMatrix> OutMatrix & applyTranspose (OutMatrix &res, const InMatrix &vect) const
const Row_toperator[] (const I i) const
Row_toperator[] (const I i)
template<class Left, class Right> Reprank_precondition (const Left &l, const Right &r, Rep &ca) const
template<class Left, class Right> Reprank_precondition (const Left &l, const Right &r)
template<class RandGen> void precondition (RandGen &g)
Type_ttrace (Type_t &t, const Rep &ca)
Type_ttrace (Type_t &t)
Type_ttrace_ata (Type_t &t, const Rep &ca)
Type_ttrace_ata (Type_t &t)

Protected Types

typedef Sparse_Vector< Type_t,
I > 
SV_t
typedef Element Rep

Protected Attributes

Domain_t _domain
_row_dim
_col_dim
_nz_elem
double _lognormdet
Rep _container

Member Typedef Documentation

typedef Domain Domain_t
 

typedef Domain Field
 

typedef Domain::Element Type_t
 

typedef _SP_BB_VECTOR_<Sparse_Vector<Type_t, I> > Element
 

typedef Sparse_Vector<Type_t, I> Row_t
 

typedef Sparse_Vector<Type_t, I> value_type
 

typedef SparseBlackBoxDom< Domain, I > Self_t
 

typedef _SP_BB_VECTOR_< Type_t > PreferredInMatrix_t
 

typedef _SP_BB_VECTOR_< Type_t > PreferredOutMatrix_t
 

typedef Sparse_Vector<Type_t, I> SV_t [protected]
 

typedef Element Rep [protected]
 


Constructor & Destructor Documentation

SparseBlackBoxDom  )  [inline]
 

SparseBlackBoxDom const Domain &  D  )  [inline]
 

SparseBlackBoxDom const Domain &  D,
char *  mat_file
[inline]
 

SparseBlackBoxDom const Self_t M  )  [inline]
 


Member Function Documentation

const Domain_t& getdomain  )  const [inline]
 

const Domain_t& field  )  const [inline]
 

size_t n_row const Rep a  )  const [inline]
 

size_t n_col const Rep a  )  const [inline]
 

size_t n_elem const Rep a  )  const [inline]
 

size_t size  )  const [inline]
 

size_t n_row  )  const [inline]
 

size_t n_col  )  const [inline]
 

size_t rowdim  )  const [inline]
 

size_t coldim  )  const [inline]
 

size_t n_elem  )  const [inline]
 

double lognorm  )  const [inline]
 

Rep& init Rep a,
char *  mat_file
const [inline]
 

void init Rep a  )  [inline]
 

Rep& init char *  mat_file  )  [inline]
 

Rep& read Rep ca,
I &  ni,
I &  nj,
I &  ne,
double &  lognorm,
char *  mat_file
const [inline]
 

void read I &  ni,
I &  nj,
char *  mat_file
const [inline]
 

Rep& read char *  mat_file  )  [inline]
 

Rep& read_transpose Rep ca,
I &  ni,
I &  nj,
I &  ne,
char *  mat_file
[inline]
 

Rep& read_transpose char *  mat_file  )  [inline]
 

void write char *  O_File_Name,
const Rep ca
const [inline]
 

void write char *  O_File_Name  )  const [inline]
 

Rep& read std::istream &  is,
Rep ca,
I &  ni,
I &  nj,
I &  ne
const [inline]
 

Rep& read std::istream &  is  )  [inline]
 

std::ostream& write std::ostream &  os,
const Rep ca
const [inline]
 

std::ostream& write std::ostream &  os  )  const [inline]
 

OutMatrix& apply OutMatrix &  res,
const InMatrix &  vect,
const Rep ca
const [inline]
 

OutMatrix& apply OutMatrix &  res,
const InMatrix &  vect
const [inline]
 

OutMatrix& applyTranspose OutMatrix &  res,
const InMatrix &  vect,
const Rep ca
const [inline]
 

OutMatrix& applyTranspose OutMatrix &  res,
const InMatrix &  vect
const [inline]
 

const Row_t& operator[] const I  i  )  const [inline]
 

Row_t& operator[] const I  i  )  [inline]
 

Rep& rank_precondition const Left &  l,
const Right &  r,
Rep ca
const [inline]
 

Rep& rank_precondition const Left &  l,
const Right &  r
[inline]
 

void precondition RandGen &  g  )  [inline]
 

Type_t& trace Type_t t,
const Rep ca
[inline]
 

Type_t& trace Type_t t  )  [inline]
 

Type_t& trace_ata Type_t t,
const Rep ca
[inline]
 

Type_t& trace_ata Type_t t  )  [inline]
 


Field Documentation

Domain_t _domain [protected]
 

I _row_dim [protected]
 

I _col_dim [protected]
 

I _nz_elem [protected]
 

double _lognormdet [protected]
 

Rep _container [protected]
 


Generated on Fri Jul 8 10:29:43 2005 for linbox by doxygen 1.3.7