|
tatami_stats
Matrix statistics for tatami
|
Options for group_variance().
More...
#include <group_variance.hpp>
Public Attributes | |
| bool | skip_nan = false |
| int | num_threads = 1 |
| Output_ | mean_placeholder = quickstats::nan_if_available_else_zero<Output_>() |
| Output_ | variance_placeholder = quickstats::nan_if_available_else_zero<Output_>() |
Options for group_variance().
| Output_ | Floating-point type of the output data. |
| bool tatami_stats::GroupVarianceOptions< Output_ >::skip_nan = false |
Whether to check for NaNs in the input, and skip them. If false, NaNs are assumed to be absent, and the behavior of the variance calculation in the presence of NaNs is undefined.
| int tatami_stats::GroupVarianceOptions< Output_ >::num_threads = 1 |
Number of threads to use when computing variances across a tatami::Matrix. See tatami::parallelize() for more details on the parallelization mechanism.
| Output_ tatami_stats::GroupVarianceOptions< Output_ >::mean_placeholder = quickstats::nan_if_available_else_zero<Output_>() |
Placeholder value to use for the mean when the extent of the relevant dimension is zero. This is NaN if supported by Output_, otherwise zero.
| Output_ tatami_stats::GroupVarianceOptions< Output_ >::variance_placeholder = quickstats::nan_if_available_else_zero<Output_>() |
Placeholder value to use for the variance when the extent of the relevant dimension is less than 2. This is NaN if supported by Output_, otherwise zero.