scran
C++ library for basic single-cell RNA-seq analyses
Loading...
Searching...
No Matches
Namespaces | Functions
average_vectors.hpp File Reference

Average parallel elements across vectors. More...

#include "macros.hpp"
#include <vector>
#include <limits>
#include <algorithm>
#include <cmath>
#include <numeric>
Include dependency graph for average_vectors.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  scran
 Functions for single-cell RNA-seq analyses.
 

Functions

template<bool check_nan_ = true, typename Stat_ , typename Output_ >
void scran::average_vectors (size_t n, std::vector< Stat_ * > in, Output_ *out)
 
template<bool check_nan_ = true, typename Output_ = double, typename Stat_ >
std::vector< Output_ > scran::average_vectors (size_t n, std::vector< Stat_ * > in)
 
template<bool check_nan_ = true, typename Stat_ , typename Weight_ , typename Output_ >
void scran::average_vectors_weighted (size_t n, std::vector< Stat_ * > in, const Weight_ *w, Output_ *out)
 
template<bool check_nan_ = true, typename Output_ = double, typename Stat_ , typename Weight_ >
std::vector< Output_ > scran::average_vectors_weighted (size_t n, std::vector< Stat_ * > in, const Weight_ *w)
 

Detailed Description

Average parallel elements across vectors.