matrix_implementation<TwoDGen, IndexerGen> [MTL Home] Programmers Guide
  Contents | Index |  Search 


Category:container Component type:type
Description
This class synthesizes all of the various components that go into a matrix and presents the functionality to the user with the proper interface. The other matrix implementation types derive from this class. This class is not used directly. copy constructor
Example
Definition
Template Parameters
Model of
Members
Member Where defined Description
twoddim    
enum { M = twoddim::M, N = twoddim::N }    
TwoD    
size_type    
dyn_dim    
dimension    
Indexer    
OldOneD    
OldOneDRef    
oned_iterator    
const_oned_iterator    
dim_type    
band_type    
OneD    
OneDRef    
TwoD_value_type    
value_type    
reference    
const_reference    
pointer    
difference_type    
shape    
orientation    
sparsity    
storage_loc    
transpose_type    
strided_type    
banded_view_type    
strideability    
scaled_type    
NewOneD    
template <int isConst>
class _iterator
   
iterator    
const_iterator    
reverse_iterator    
const_reverse_iterator    
orien    
matrix_implementation ()    
matrix_implementation (dim_type dim, size_type nnz_max)    
matrix_implementation (dim_type dim)    
matrix_implementation (dim_type dim, band_type bw)    
matrix_implementation (const TwoD& x, Indexer ind)    
matrix_implementation (const matrix_implementation& x)    
matrix_implementation (const matrix_implementation& x, do_strided s)    
self& operator= (const self& x)    
matrix_implementation (const transpose_type& x, do_transpose, do_transpose)    
matrix_implementation (const strided_type& x, do_strided, do_strided)    
template <class Mat, class Scalar>
matrix_implementation (const Mat& x, const Scalar& y, do_scaled)
   
matrix_implementation (pointer data, dim_type dim, char)    
matrix_implementation (pointer data, dim_type dim, size_type ld)    
matrix_implementation (pointer data, dim_type dim, size_type ld, dyn_dim starts, char)   With non-zero upper-left corner starts
matrix_implementation (pointer data, dim_type dim, band_type bw)    
matrix_implementation (pointer data, dim_type dim, size_type ld, band_type bw)    
matrix_implementation (dim_type dim, size_type nnz, pointer val, size_type* ptrs, size_type* inds)   compressed2D external data constructor
template <class Matrix>
matrix_implementation (const Matrix& x, band_type bw)
  banded view constructor
template <class Matrix, class ST, int BM, int BN>
matrix_implementation (const Matrix& x, mtl::dimension<ST,BM,BN> bd, char)
  block view constructor
twod (x.twod, orien::map(bd))    
matrix_implementation (pointer data)   Static M, N Constructor
matrix_implementation (pointer data, size_type ld)    
mmstream   matrix stream constructor
hbstream    
template <class Me>
matrix_implementation (mmstream& m_in, Me& me)
   
template <class Me>
matrix_implementation (hbstream& m_in, Me& me)
   
template <class Me>
matrix_implementation (mmstream& m_in, band_type bw, Me& me)
   
template <class Me>
matrix_implementation (hbstream& m_in, band_type bw, Me& me)
   
~matrix_implementation ()    
iterator begin ()    
iterator end ()    
const_iterator begin () const    
const_iterator end () const    
reverse_iterator rbegin ()    
reverse_iterator rend ()    
const_reverse_iterator rbegin () const    
const_reverse_iterator rend () const    
OneD::reference operator() (size_type i, size_type j)    
OneD::const_reference operator() (size_type i, size_type j) const    
OneDRef operator[] (size_type n)    
const OneDRef operator[] (size_type n) const    
size_type nrows () const    
size_type ncols () const    
size_type noneds () const    
size_type major () const    
size_type minor () const    
size_type nnz () const    
size_type capacity () const    
int sub () const    
int super () const    
bool is_upper () const    
bool is_lower () const    
bool is_unit () const    
const TwoD& get_twod () const    
const Indexer& get_indexer () const    
void print () const    
value_type* data ()    
const value_type* data () const    
value_type* get_val ()    
const value_type* get_val () const    
size_type* get_ind ()    
const size_type* get_ind () const    
size_type* get_ptr ()    
const size_type* get_ptr () const    
template <class Matrix>
void fast_copy (const Matrix& x)
   
TwoD twod    
Indexer indexer    
New members
Notes
See also

[MTL Home] Copyright © 1998,1999 University of Notre Dame. All Rights Reserved.