ug4
ug::localMatrix_from_col_major_and_array< T > Class Template Reference

#include <local_helper.h>

Public Member Functions

size_t col_index (size_t i) const
 
 localMatrix_from_col_major_and_array (size_t numrows_, size_t numcols_, T *m_, const size_t *rows_, const size_t *cols_)
 
size_t num_cols () const
 
size_t num_rows () const
 
T & operator() (size_t i, size_t j)
 
const T & operator() (size_t i, size_t j) const
 
size_t row_index (size_t i) const
 

Private Attributes

const size_t * cols
 
T * m
 
size_t numcols
 
size_t numrows
 
const size_t * rows
 

Constructor & Destructor Documentation

◆ localMatrix_from_col_major_and_array()

template<typename T >
ug::localMatrix_from_col_major_and_array< T >::localMatrix_from_col_major_and_array ( size_t  numrows_,
size_t  numcols_,
T *  m_,
const size_t *  rows_,
const size_t *  cols_ 
)
inline

Member Function Documentation

◆ col_index()

template<typename T >
size_t ug::localMatrix_from_col_major_and_array< T >::col_index ( size_t  i) const
inline

◆ num_cols()

template<typename T >
size_t ug::localMatrix_from_col_major_and_array< T >::num_cols ( ) const
inline

◆ num_rows()

template<typename T >
size_t ug::localMatrix_from_col_major_and_array< T >::num_rows ( ) const
inline

◆ operator()() [1/2]

template<typename T >
T& ug::localMatrix_from_col_major_and_array< T >::operator() ( size_t  i,
size_t  j 
)
inline

◆ operator()() [2/2]

template<typename T >
const T& ug::localMatrix_from_col_major_and_array< T >::operator() ( size_t  i,
size_t  j 
) const
inline

◆ row_index()

template<typename T >
size_t ug::localMatrix_from_col_major_and_array< T >::row_index ( size_t  i) const
inline

Member Data Documentation

◆ cols

template<typename T >
const size_t* ug::localMatrix_from_col_major_and_array< T >::cols
private

◆ m

◆ numcols

◆ numrows

◆ rows

template<typename T >
const size_t* ug::localMatrix_from_col_major_and_array< T >::rows
private

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