GCBM
Public Member Functions | Private Attributes | List of all members
SawtoothMatrixWrapper< TMat, TElem > Class Template Reference

#include <sawtoothmodule.h>

Collaboration diagram for SawtoothMatrixWrapper< TMat, TElem >:
Collaboration graph

Public Member Functions

 SawtoothMatrixWrapper ()
 
 SawtoothMatrixWrapper (size_t nrow, size_t ncol, TElem defaultValue=(TElem) 0)
 
TMat * Get ()
 
double GetValue (size_t row, size_t col)
 
void SetValue (size_t row, size_t col, TElem value)
 

Private Attributes

std::shared_ptr< TMat > Mat
 
std::shared_ptr< TElem > Values
 

Constructor & Destructor Documentation

◆ SawtoothMatrixWrapper() [1/2]

◆ SawtoothMatrixWrapper() [2/2]

SawtoothMatrixWrapper ( size_t  nrow,
size_t  ncol,
TElem  defaultValue = (TElem)0 
)

Member Function Documentation

◆ Get()

TMat* Get ( )

◆ GetValue()

double GetValue ( size_t  row,
size_t  col 
)

◆ SetValue()

void SetValue ( size_t  row,
size_t  col,
TElem  value 
)

Member Data Documentation

◆ Mat

std::shared_ptr<TMat> Mat
private

◆ Values

std::shared_ptr<TElem> Values
private

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