Model for Q-score heatmap

Functions

float at (const size_t row, const size_t col) const INTEROP_THROW_SPEC((model
 
float at (const size_t idx) const INTEROP_THROW_SPEC((model
 
float operator[] (const size_t idx) const INTEROP_THROW_SPEC((model
 
float operator() (const size_t row, const size_t col) const INTEROP_THROW_SPEC((model
 
float & operator() (const size_t row, const size_t col) INTEROP_THROW_SPEC((model
 
size_t row_count () const
 
size_t column_count () const
 
size_t length () const
 
bool empty () const
 

Detailed Description

Model for Q-score heatmap

See full class description

Function Documentation

float at ( const size_t  row,
const size_t  col 
) const
inline

Get value at given row and column

TODO: This should thrown an exception if wrong

Deprecated:
Will be removed in next feature version (use operator() instead for C++ Code)
Parameters
rowrow index
colcolumn index
Returns
value
float at ( const size_t  idx) const
inline

Get value at given index

Deprecated:
Will be removed in next feature version (use operator[] instead for C++ Code)
Parameters
idxindex
Returns
value
size_t column_count ( ) const
inline

Get number of columns

Returns
number of columns
bool empty ( ) const
inline

Test if heatmap is empty

Returns
true if there are not values in heatmap
size_t length ( ) const
inline

Get number of rows * columns

Returns
number of rows * columns
float operator() ( const size_t  row,
const size_t  col 
) const
inline

Get value at given row and column

TODO: This should thrown an exception if wrong

Parameters
rowrow index
colcolumn index
Returns
value
float& operator() ( const size_t  row,
const size_t  col 
)
inline

Get value at given row and column

TODO: This should thrown an exception if wrong

Parameters
rowrow index
colcolumn index
Returns
value
float operator[] ( const size_t  idx) const
inline

Get value at given index

Parameters
idxindex
Returns
value
size_t row_count ( ) const
inline

Get number of rows

Returns
number of rows