ug4
ug::const_localMatrix_from_mat_and_array< M > Class Template Reference

#include <local_helper.h>

Public Member Functions

size_t col_index (size_t i) const
 
 const_localMatrix_from_mat_and_array (const M &m_, const size_t *rows_, const size_t *cols_)
 
size_t num_cols () const
 
size_t num_rows () const
 
const M::value_typeoperator() (size_t i, size_t j) const
 
size_t row_index (size_t i) const
 

Private Attributes

const size_t * cols
 
const M & m
 
const size_t * rows
 

Constructor & Destructor Documentation

◆ const_localMatrix_from_mat_and_array()

template<typename M >
ug::const_localMatrix_from_mat_and_array< M >::const_localMatrix_from_mat_and_array ( const M &  m_,
const size_t *  rows_,
const size_t *  cols_ 
)
inline

Member Function Documentation

◆ col_index()

template<typename M >
size_t ug::const_localMatrix_from_mat_and_array< M >::col_index ( size_t  i) const
inline

◆ num_cols()

template<typename M >
size_t ug::const_localMatrix_from_mat_and_array< M >::num_cols ( ) const
inline

◆ num_rows()

template<typename M >
size_t ug::const_localMatrix_from_mat_and_array< M >::num_rows ( ) const
inline

◆ operator()()

template<typename M >
const M::value_type& ug::const_localMatrix_from_mat_and_array< M >::operator() ( size_t  i,
size_t  j 
) const
inline

◆ row_index()

template<typename M >
size_t ug::const_localMatrix_from_mat_and_array< M >::row_index ( size_t  i) const
inline

Member Data Documentation

◆ cols

template<typename M >
const size_t* ug::const_localMatrix_from_mat_and_array< M >::cols
private

◆ m

◆ rows

template<typename M >
const size_t* ug::const_localMatrix_from_mat_and_array< M >::rows
private

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