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


Category: Component type:
Description
This class derives from the matrix_implementation class. The main purpose of this class is merely to add the "Row" type definition. problem, The new TwoDGen::submatrix_type may have a difference size_type then previously. Since IndexerGen still has the old size_type, there is a conflict typedef light_matrix submatrix_type; correct typedef light_matrix submatrix_type; Currently only works with dense rectangular matrices deprecated, derive partitioned matrix type from submatrix_type instead and do it in partition.h deprecated, use functions in partition.h instead
Example
Definition
matrix_implementation.h
Template Parameters
Model of
Members
Member Where defined Description
size_type    
pointer    
reference    
const_reference    
element_pointer    
const_element_pointer    
element_ref    
const_element_ref    
dyn_dim    
TwoD    
OneD    
OneDRef    
Indexer    
orientation    
TransOrien    
Row    
RowRef    
enum { M = Indexer::M, N = Indexer::N }    
transpose_type    
strided_type    
banded_view_type    
enum { CATEGORY = MATRIX, NROWS = Indexer::M, NCOLS = Indexer::N, ORIENTATION = orientation::id, SHAPE = shape::id, SPARSITY = sparsity::id, DIMENSION = 2 }    
row_matrix ()    
row_matrix& operator= (const row_matrix& x)    
template <class Expr>
row_matrix& operator= (const expr<Expr>& e)
   
row_matrix& operator= (const element_type& t)    
strided_type get_strided (TransOrien) const    
self get_strided (orientation) const    
transpose_type get_transpose () const    
row_matrix (size_type m, size_type n)   user callable constructors
row_matrix (size_type m, size_type n, size_type nnz_max)    
row_matrix (size_type m, size_type n, int sub, int super)    
row_matrix (element_pointer data, size_type m, size_type n)   external data constructor
row_matrix (element_pointer data, size_type m, size_type n, size_type ld)   external data constructor with leading dimension
row_matrix (element_pointer data, size_type m, size_type n, size_type ld, dyn_dim starts)   non zero index upper left corner
row_matrix (element_pointer data, size_type m, size_type n, int sub, int super)   external data banded matrix constructor
row_matrix (element_pointer data, size_type m, size_type n, size_type ld, int sub, int super)   external data banded matrix constructor with leading dimension
row_matrix (element_pointer data)   Static M, N Constructor
row_matrix (size_type m, size_type n, size_type nnz, element_pointer val, size_type* ptrs, size_type* inds)   compressed2D external data constructor
template <class Matrix>
row_matrix (int sub, int super, const Matrix& x)
  banded view constructor
template <class Matrix, class ST, int BM, int BN>
row_matrix (const Matrix& x, mtl::dimension<ST,BM,BN> bdim)
  block view constructor
Base (x, bdim, char())    
mmstream   stream constructors
hbstream    
row_matrix (mmstream & m_in)    
row_matrix (hbstream & m_in)    
row_matrix (mmstream& m_in, int sub, int super)    
row_matrix (hbstream& m_in, int sub, int super)    
template <class Subclass>
row_matrix (mmstream & m_in, Subclass& s)
   
template <class Subclass>
row_matrix (hbstream & m_in, Subclass& s)
   
template <class Subclass>
row_matrix (mmstream& m_in, int sub, int super, Subclass& s)
   
template <class Subclass>
row_matrix (hbstream& m_in, int sub, int super, Subclass& s)
   
row_matrix (const row_matrix& x)   copy constructor
row_matrix (const row_matrix& x, do_strided)   : called by rows(A) and columns(A)
row_matrix (const transpose_type& x, do_transpose t)   called by trans helper function
row_matrix (const strided_type& x, do_strided s)   called by rows and columns helper functions
template <class Mat, class Scalar>
row_matrix (const Mat& x, const Scalar& y, do_scaled s)
  called by scaled helper function
row_matrix (const TwoD& x, Indexer ind)    
~row_matrix ()    
new_sizeT    
IsStrided    
submatrix_type    
submatrix_type sub_matrix (size_type row_start, size_type row_finish, size_type col_start, size_type col_finish) const   create a submatrix view into this matrix
partitioned    
partitioned subdivide (size_type split_row, size_type split_col) const    
New members
Notes
See also

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