Rosetta 3.3
Namespaces | Functions
src/numeric/statistics.functions.cc File Reference
#include <platform/types.hh>
#include <numeric/types.hh>
#include <utility/vector1.hh>
#include <cmath>

Namespaces

namespace  numeric
 

A 1D histogram based upon a map structure.


namespace  numeric::statistics

Functions

numeric::Real numeric::statistics::kl_divergence (utility::vector1< numeric::Real > const &prior, utility::vector1< numeric::Real > const &posterior)
 Returns the Kullback-Leibler divergence (aka relative entropy) between two discrete probability distributions.

Detailed Description

Author:
James Thompson
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines