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
Template Parameters
Model of
Members
Member Where defined Description
value_type    
size_type    
pointer    
reference    
const_reference    
dim_type    
dyn_dim    
TwoD    
OneD    
OneDRef    
Indexer    
Row    
RowRef    
enum { M = Indexer::M, N = Indexer::N }    
transpose_type    
strided_type    
banded_view_type    
row_matrix& operator= (const row_matrix& x)    
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 (pointer data, size_type m, size_type n)   external data constructors
row_matrix (pointer data, size_type m, size_type n, size_type ld)    
row_matrix (pointer data, size_type m, size_type n, size_type ld, dyn_dim starts)   non zero index upper left corner
row_matrix (pointer data, size_type m, size_type n, int sub, int super)    
row_matrix (pointer data, size_type m, size_type n, size_type ld, int sub, int super)    
row_matrix (pointer data)   Static M, N Constructor
row_matrix (size_type m, size_type n, size_type nnz, 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.