mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-30 20:02:13 +00:00
65 lines
4.1 KiB
HTML
65 lines
4.1 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>Motivation</title>
|
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
|
<link rel="home" href="../index.html" title="Chapter 1. Boost.Histogram">
|
|
<link rel="up" href="../index.html" title="Chapter 1. Boost.Histogram">
|
|
<link rel="prev" href="../index.html" title="Chapter 1. Boost.Histogram">
|
|
<link rel="next" href="introduction.html" title="Introduction">
|
|
</head>
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
<table cellpadding="2" width="100%"><tr>
|
|
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
|
|
<td align="center"><a href="../../../../../index.html">Home</a></td>
|
|
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
|
|
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
|
|
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
|
|
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="../index.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="introduction.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
<div class="section">
|
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
|
<a name="boost_histogram.motivation"></a><a class="link" href="motivation.html" title="Motivation">Motivation</a>
|
|
</h2></div></div></div>
|
|
<p>
|
|
There is a lack of a widely-used, free histogram class. While it is easy to
|
|
write an 1-dimensional histogram, writing an n-dimensional histogram poses
|
|
more of a challenge. If you add serialization and Python/Numpy support onto
|
|
the wish-list, the air becomes thin.
|
|
</p>
|
|
<p>
|
|
The main competitor is the <a href="https://root.cern.ch" target="_top">ROOT framework</a>.
|
|
The histogram in this project is designed to be more convenient to use, and
|
|
as fast or faster than the equivalent ROOT histograms. It comes without heavy
|
|
baggage, instead it has a clean and modern C++ design which follows the advice
|
|
given in popular C++ books, like those of <a href="http://www.aristeia.com/books.html" target="_top">Meyers</a>
|
|
and <a href="http://www.gotw.ca/publications/c++cs.htm" target="_top">Sutter and Alexandrescu</a>.
|
|
</p>
|
|
<p>
|
|
Two of the main design goals are to conveniently hide the internal details
|
|
on how things are counted, and to use the same interface for 1-dimensional
|
|
and n-dimensional histograms. The count storage is an implementation detail,
|
|
chosen automatically to be fast and efficient. The histogram should <span class="bold"><strong>just work</strong></span>, users shouldn't be forced to make choices
|
|
among several storage options everytime they encounter a new data set.
|
|
</p>
|
|
</div>
|
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
|
<td align="left"></td>
|
|
<td align="right"><div class="copyright-footer">Copyright © 2016 Hand Dembinski<p>
|
|
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)
|
|
</p>
|
|
</div></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="../index.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="introduction.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
</body>
|
|
</html>
|