scran_qc
Simple quality control on single-cell data
|
Temporary data structures for find_median_mad_blocked()
.
More...
#include <find_median_mad.hpp>
Public Member Functions | |
template<typename Block_ > | |
FindMedianMadWorkspace (Index_ num, const Block_ *block) | |
FindMedianMadWorkspace ()=default | |
template<typename Block_ > | |
void | set (Index_ num, const Block_ *block) |
Temporary data structures for find_median_mad_blocked()
.
This can be re-used across multiple find_median_mad_blocked()
calls to avoid reallocation.
Float_ | Floating-point type for buffering. |
Index_ | Integer type for array indices. |
|
inline |
Block_ | Integer type for the block identifiers. |
num | Number of observations. | |
[in] | block | Pointer to an array of block identifiers. The array should be of length equal to num . Values should be integer IDs in \([0, N)\) where \(N\) is the number of blocks. |
|
default |
Default constructor.
|
inline |
Block_ | Integer type for the block identifiers. |
num | Number of observations. | |
[in] | block | Pointer to an array of block identifiers. The array should be of length equal to num . Values should be integer IDs in \([0, N)\) where \(N\) is the number of blocks. |