A library for working with phylogenetic and population genetic data.
v0.32.0
operations.cpp File Reference

Detailed Description

Implementation of Histogram operations functions.

Definition in file operations.cpp.

#include "genesis/utils/math/histogram/operations.hpp"
#include <cassert>
#include <cmath>
#include <vector>
#include "genesis/utils/math/histogram.hpp"
#include "genesis/utils/math/histogram/stats.hpp"

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

void normalize (Histogram &h, double total)
 
void offset (Histogram &h, double value)
 
void scale (Histogram &h, double factor)