Boost C++ Libraries Home Libraries People FAQ More

Next

Chapter 1. Boost.Histogram

Hans Dembinski

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Description
Motivation
Introduction
Tutorial
Example 1: 1d-histogram in C++
Example 2: 2d-histogram in Python
Notes
Dependencies
How to build and install
Tests
Checks
Consistency of C++ and Python interface
Benchmarks
Rationale
Design principles
Interface convenience
Language transparency
Powerful binning strategies
Performance and memory-efficiency
Weighted counts and variance estimates
Serialization and zero-suppression
References
Reference
Header <boost/histogram.hpp>
Header <boost/histogram/histogram.hpp>
Header <boost/histogram/axis.hpp>
Header <boost/histogram/basic_histogram.hpp>
Header <boost/histogram/serialization.hpp>
Header <boost/histogram/visitors.hpp>
Changelog

This project contains an easy-to-use powerful n-dimensional histogram class implemented in C++03, optimized for convenience and excellent performance under heavy duty. Move semantics are supported using boost::move. The histogram has a complete C++ and a Python interface, and can be passed over the language boundary with ease. Numpy is fully supported; histograms can be filled with Numpy arrays at C speeds and are convertible into Numpy arrays without copying data. Histograms can be streamed from/to files and pickled in Python.

My goal is to submit this project to the Boost Libraries

Last revised: July 12, 2016 at 22:56:41 GMT


Next