Родитель
e7e763fbe0
Сommit
fde71ba245
@ -1,10 +1,16 @@
|
|||||||
#ifndef HISTOGRAM_H_INCLUDED
|
#ifndef HISTOGRAM_H_INCLUDED
|
||||||
#define HISTOGRAM_H_INCLUDED
|
#define HISTOGRAM_H_INCLUDED
|
||||||
|
|
||||||
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
// Создание корзин для оценок.
|
||||||
|
|
||||||
std::vector<size_t> make_histogram(const std::vector<double>& numbers, size_t bin_count);
|
std::vector<size_t> make_histogram(const std::vector<double>& numbers, size_t bin_count);
|
||||||
|
|
||||||
|
// Создание гистограммы на основании корзин в формате SVG.
|
||||||
|
|
||||||
|
void show_histogram_svg(const std::vector<size_t>& bins);
|
||||||
|
|
||||||
|
|
||||||
#endif // HISTOGRAM_H_INCLUDED
|
#endif // HISTOGRAM_H_INCLUDED
|
||||||
|
Загрузка…
Ссылка в новой задаче