ug4
ug::localMatrix_from_mat_and_array< M > Class Template Reference

#include <local_helper.h>

Public Member Functions

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

Private Attributes

const size_t * cols
 
M * m
 
const size_t * rows
 

Constructor & Destructor Documentation

◆ localMatrix_from_mat_and_array()

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

◆ ~localMatrix_from_mat_and_array()

template<typename M >
ug::localMatrix_from_mat_and_array< M >::~localMatrix_from_mat_and_array ( )
inline

Member Function Documentation

◆ col_index()

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

◆ num_cols()

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

◆ num_rows()

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

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

◆ row_index()

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

Member Data Documentation

◆ cols

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

◆ m

◆ rows

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

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