Rosetta 3.3
Namespaces | Functions
src/numeric/util.cc File Reference

small bundle of utilities for dealing with numbers. More...

#include <numeric/types.hh>
#include <utility/vector1.hh>
#include <limits>
#include <cmath>
#include <algorithm>

Namespaces

namespace  numeric
 

A 1D histogram based upon a map structure.


Functions

numeric::Real numeric::median (utility::vector1< numeric::Real > const &values)
 Returns the median from a vector1 of Real values.
numeric::Real numeric::mean (utility::vector1< numeric::Real > const &values)

Detailed Description

small bundle of utilities for dealing with numbers.

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