Temporary data structures for find_median_mad_blocked()
.
More...
#include <find_median_mad.hpp>
template<typename Float_, typename Index_>
class scran_qc::FindMedianMadWorkspace< Float_, Index_ >
Temporary data structures for find_median_mad_blocked()
.
This can be re-used across multiple find_median_mad_blocked()
calls to avoid reallocation.
- Template Parameters
-
Float_ | Floating-point type for buffering. |
Index_ | Integer type for array indices. |
◆ FindMedianMadWorkspace() [1/2]
template<typename Float_ , typename Index_ >
template<typename Block_ >
- Template Parameters
-
Block_ | Integer type for the block identifiers. |
- Parameters
-
| 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. |
◆ FindMedianMadWorkspace() [2/2]
template<typename Float_ , typename Index_ >
◆ set()
template<typename Float_ , typename Index_ >
template<typename Block_ >
- Template Parameters
-
Block_ | Integer type for the block identifiers. |
- Parameters
-
| 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. |
The documentation for this class was generated from the following file: