Temporary data structures for find_median_mad_blocked().
More...
#include <find_median_mad.hpp>
template<typename Float_>
class scran_qc::FindMedianMadWorkspace< Float_ >
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 of the buffer. |
◆ FindMedianMadWorkspace() [1/2]
template<typename Float_ >
template<typename Block_ >
- Template Parameters
-
| Block_ | Integer type of 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_ >
◆ set()
template<typename Float_ >
template<typename Block_ >
- Template Parameters
-
| Block_ | Integer type of 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: