mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-28 19:22:12 +00:00
15 lines
409 B
C++
15 lines
409 B
C++
// Copyright 2018 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)
|
|
|
|
#include <boost/histogram.hpp>
|
|
|
|
using namespace boost::histogram;
|
|
int main() {
|
|
auto h = make_dynamic_histogram(axis::integer<>(0, 1), axis::integer<>(1, 2));
|
|
auto v = {0, 0};
|
|
h.reduce_to(v.begin(), v.end());
|
|
}
|