HLIBpro  2.0
Public Member Functions | List of all members
MatrixBase< T_derived > Class Template Reference

defines basic interface for matrices

#include <MatrixBase.hh>

Inheritance diagram for MatrixBase< T_derived >:
Matrix< complex > Matrix< real >

Public Member Functions

size_t nrows () const
 return number of rows of matrix
 
size_t ncols () const
 return number of columns of matrix
 
value_t operator() (const idx_t i, const idx_t j) const
 return coefficient (i,j)
 
value_t & operator() (const idx_t i, const idx_t j)
 return reference to coefficient (i,j)
 
value_t * data () const
 return pointer to internal data
 
size_t row_stride () const
 return stride w.r.t. row index set
 
size_t col_stride () const
 return stride w.r.t. column index set
 
blasview_t blas_view () const
 return BLAS matrix view of matrix object
 
size_t blas_nrows () const
 return number of rows of actual BLAS matrix
 
size_t blas_ncols () const
 return number of columns of actual BLAS matrix