A library for working with phylogenetic and population genetic data.
v0.32.0
utils/math/bitvector/helper.cpp File Reference
#include "genesis/utils/math/bitvector/helper.hpp"
#include <algorithm>
#include <cassert>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

std::vector< bool > make_bool_vector_from_indices (std::vector< size_t > const &indices, size_t size=0)
 Helper function to create a bool vector from a set of indices to be set to true. More...