Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SparseBlackBoxDom Class Template Reference

#include <sparse1.h>

List of all members.

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 Methods

 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 _SP_BB_VECTOR_<Sparse_Vector<Type_t, I> > Element
 

typedef Domain Field
 

typedef _SP_BB_VECTOR_< Type_t > PreferredInMatrix_t
 

typedef _SP_BB_VECTOR_< Type_t > PreferredOutMatrix_t
 

typedef Element Rep [protected]
 

typedef Sparse_Vector<Type_t, I> Row_t
 

typedef SparseBlackBoxDom< Domain, I > Self_t
 

typedef Sparse_Vector<Type_t, I> SV_t [protected]
 

typedef Domain::Element Type_t
 

typedef Sparse_Vector<Type_t, I> value_type
 


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

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

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

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

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

size_t coldim   const [inline]
 

const Domain_t& field   const [inline]
 

const Domain_t& getdomain   const [inline]
 

Rep& init char *    mat_file [inline]
 

void init Rep   a [inline]
 

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

double lognorm   const [inline]
 

size_t n_col   const [inline]
 

size_t n_col const Rep   a const [inline]
 

size_t n_elem   const [inline]
 

size_t n_elem const Rep   a const [inline]
 

size_t n_row   const [inline]
 

size_t n_row const Rep   a const [inline]
 

Row_t& operator[] const I    i [inline]
 

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

void precondition RandGen &    g [inline]
 

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

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

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

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

Rep& read char *    mat_file [inline]
 

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

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

Rep& read_transpose char *    mat_file [inline]
 

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

size_t rowdim   const [inline]
 

size_t size   const [inline]
 

Type_t& trace Type_t   t [inline]
 

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

Type_t& trace_ata Type_t   t [inline]
 

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

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

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

void write char *    O_File_Name const [inline]
 

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


Member Data Documentation

I _col_dim [protected]
 

Rep _container [protected]
 

Domain_t _domain [protected]
 

double _lognormdet [protected]
 

I _nz_elem [protected]
 

I _row_dim [protected]
 


Generated on Mon Jun 20 09:16:51 2005 for linbox by doxygen1.2.18