From 1da167ca600fa82557ef599658602adafe3d883c Mon Sep 17 00:00:00 2001 From: "Sasha (KobzevAV)" Date: Mon, 24 Apr 2023 03:23:55 +0300 Subject: [PATCH] =?UTF-8?q?header:=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE?= =?UTF-8?q?=D0=B2=D0=BE=D1=87=D0=BD=D1=8B=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- histogram.h | 3 +++ svg.h | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 svg.h diff --git a/histogram.h b/histogram.h index 11954ba..b23987c 100644 --- a/histogram.h +++ b/histogram.h @@ -5,4 +5,7 @@ std::vector make_histogram(const std::vector& numbers, size_t bin_count); + +std::vector +make_borders(const std::vector& numbers, size_t bin_count); #endif // HISTOGRAM_H_INCLUDED diff --git a/svg.h b/svg.h new file mode 100644 index 0000000..4e8e921 --- /dev/null +++ b/svg.h @@ -0,0 +1,10 @@ +#ifndef SVG_H_INCLUDED +#define SVG_H_INCLUDED +#include +#include +#include + +void +show_histogram_svg(const std::vector& bins, const std::vector& borders, size_t bin_count); + +#endif // SVG_H_INCLUDED