Function fwdpp::row_sums

Function Documentation

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

Calculate the row sums of a fwdpp::data_matrix

Return

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