SigUtil
0.95
Utility modules for modern C++
|
ヒストグラム More...
Public Member Functions | |
Histgram (T min, T max) | |
コンストラクタ More... | |
void | count (T value) |
要素をbinに振り分けてカウント More... | |
template<class C , typename std::enable_if< impl::container_traits< C >::exist >::type *& = enabler> | |
void | count (C const &values) |
bool | is_over_range () const |
bin外の要素が存在したか More... | |
auto | get_count () const -> std::array< uint, Bin > |
頻度を取得 More... | |
auto | get_count (uint bin) const -> Maybe< std::tuple< uint, int, int >> |
bin番目(0 ~ Bin-1)の頻度を取得 More... | |
void | print () const |
標準出力へ出力 More... | |
void | print (FilepassString const &file_pass) const |
ファイルへ出力 More... | |
ヒストグラム
T | 要素の型 |
Bin | 度数 |
Definition at line 53 of file histgram.hpp.
|
inline |
|
inline |
要素をbinに振り分けてカウント
Definition at line 141 of file histgram.hpp.
|
inline |
Definition at line 154 of file histgram.hpp.
|
inline |
頻度を取得
Definition at line 164 of file histgram.hpp.
|
inline |
bin番目(0 ~ Bin-1)の頻度を取得
bin | ビン番号 |
Definition at line 177 of file histgram.hpp.
|
inline |
bin外の要素が存在したか
Definition at line 159 of file histgram.hpp.
|
inline |
標準出力へ出力
Definition at line 185 of file histgram.hpp.
|
inline |
ファイルへ出力
Definition at line 188 of file histgram.hpp.