Function fwdpp::col_sums

Function Documentation

std::pair<std::vector<std::uint32_t>, std::vector<std::uint32_t>> fwdpp::col_sums(const data_matrix &m)

Calculate the column sums of a fwdpp::data_matrix

Return

A pair of vectors of unsigned integers representing column sums for neutral and selected sites in the matrix, respectively.