mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-11 13:14:06 +00:00
10 lines
250 B
C++
10 lines
250 B
C++
#include <boost/histogram.hpp>
|
|
#include <vector>
|
|
|
|
using namespace boost::histogram;
|
|
int main() {
|
|
auto h = make_dynamic_histogram(axis::integer<>(0, 2),
|
|
axis::integer<>(0, 2));
|
|
h.bin(std::vector<int>({-2, 0}));
|
|
}
|