|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_UTILS_MATH_TWOBIT_VECTOR_FUNCTIONS_H_
2 #define GENESIS_UTILS_MATH_TWOBIT_VECTOR_FUNCTIONS_H_
51 std::string
bitstring( TwobitVector
const& vec );
57 #endif // include guard
TwobitVector::ValueType translate_from_nucleic_acid(char site)
Translate a char into TwobitVector::ValueType.
uint64_t WordType
Underlying word type for the bitvector.
std::string to_nucleic_acids(TwobitVector const &vec)
Turn a TwobitVector into its string representation of nucleic acids.
std::string bitstring(TwobitVector const &vec)
Return a string with a bit-representation of a TwobitVector.
ValueType
Value Type enumeration for the elements of a TwobitVector.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
char translate_to_nucleic_acid(TwobitVector::ValueType value)
Translate a TwobitVector::ValueType into its char representation.
TwobitVector from_nucleic_acids(std::string const &sequence)
Turn a string of nucleic acids into a TwobitVector.