linbox
PlainMatrix< Domain_ > Class Template Reference

#include <plain-matrix.h>

+ Inheritance diagram for PlainMatrix< Domain_ >:

Public Types

typedef PlainMatrix< Domain_ > Self_t
 
typedef PlainSubmatrix< Domain_ > Father_t
 
typedef Father_t::MatrixDomain MatrixDomain
 
typedef Father_t::Index Index
 
typedef Father_t::Entry Entry
 

Public Member Functions

 PlainMatrix ()
 
 PlainMatrix (const MatrixDomain &D, Index m, Index n)
 
 PlainMatrix (const PlainMatrix &A)
 
void init (const MatrixDomain &D, Index m, Index n)
 
PlainMatrixoperator= (const PlainMatrix &A)
 
std::istream & read (std::istream &is)
 
Index rowdim () const
 
Index coldim () const
 
const MatrixDomainfield () const
 
const MatrixDomaindomain () const
 
EntrygetEntry (Entry &x, Index i, Index j) const
 
const EntrysetEntry (Index i, Index j, const Entry &x)
 
void submatrix (const Self_t &A, Index i, Index j, Index m, Index n)
 
Self_tzero ()
 
Self_trandom ()
 
std::ostream & write (std::ostream &os) const
 
Self_tcopy (const Self_t &B)
 
void submatrix (const Self_t &A, Index i, Index j, Index m, Index n)
 
Self_tidentity ()
 
Self_tidentity ()
 
Self_tcopy (const Self_t &B)
 

Protected Attributes

const MatrixDomaindomain_
 
Entryrep_
 
Index rows_
 
Index cols_
 
Index row_stride_
 

Member Typedef Documentation

◆ Self_t

template<class Domain_>
typedef PlainMatrix<Domain_> Self_t

◆ Father_t

template<class Domain_>
typedef PlainSubmatrix<Domain_> Father_t

◆ MatrixDomain

template<class Domain_>
typedef Father_t::MatrixDomain MatrixDomain

◆ Index

template<class Domain_>
typedef Father_t::Index Index

◆ Entry

template<class Domain_>
typedef Father_t::Entry Entry

Constructor & Destructor Documentation

◆ PlainMatrix() [1/3]

template<class Domain_>
PlainMatrix ( )
inline

◆ PlainMatrix() [2/3]

template<class Domain_>
PlainMatrix ( const MatrixDomain & D,
Index m,
Index n )
inline

◆ PlainMatrix() [3/3]

template<class Domain_>
PlainMatrix ( const PlainMatrix< Domain_ > & A)
inline

Member Function Documentation

◆ init()

template<class Domain_>
void init ( const MatrixDomain & D,
Index m,
Index n )
inline

◆ operator=()

template<class Domain_>
PlainMatrix & operator= ( const PlainMatrix< Domain_ > & A)
inline

◆ read()

template<class Domain_>
std::istream & read ( std::istream & is)
inline

◆ rowdim()

template<class Domain_>
Index rowdim ( ) const
inline

◆ coldim()

template<class Domain_>
Index coldim ( ) const
inline

◆ field()

template<class Domain_>
const MatrixDomain & field ( ) const
inline

◆ domain()

template<class Domain_>
const MatrixDomain & domain ( ) const
inline

◆ getEntry()

template<class Domain_>
Entry & getEntry ( Entry & x,
Index i,
Index j ) const
inline

◆ setEntry()

template<class Domain_>
const Entry & setEntry ( Index i,
Index j,
const Entry & x )
inline

◆ submatrix() [1/2]

template<class Domain_>
void submatrix ( const Self_t & A,
Index i,
Index j,
Index m,
Index n )
inline

◆ zero()

template<class Domain_>
Self_t & zero ( )
inline

◆ random()

template<class Domain_>
Self_t & random ( )
inline

◆ write()

template<class Domain_>
std::ostream & write ( std::ostream & os) const
inline

◆ copy() [1/2]

template<class Domain_>
Self_t & copy ( const Self_t & B)
inline

◆ submatrix() [2/2]

void submatrix ( const Self_t & A,
Index i,
Index j,
Index m,
Index n )
inlineinherited

◆ identity() [1/2]

Self_t & identity ( )
inlineinherited

◆ identity() [2/2]

Self_t & identity ( )
inlineinherited

◆ copy() [2/2]

Self_t & copy ( const Self_t & B)
inlineinherited

Field Documentation

◆ domain_

template<class Domain_>
const MatrixDomain* domain_
protected

◆ rep_

template<class Domain_>
Entry* rep_
protected

◆ rows_

template<class Domain_>
Index rows_
protected

◆ cols_

template<class Domain_>
Index cols_
protected

◆ row_stride_

template<class Domain_>
Index row_stride_
protected

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