OpenNN  2.2
Open Neural Networks Library
Public Member Functions | Public Attributes | List of all members
OpenNN::Histogram< T > Struct Template Reference

#include <vector.h>

Public Member Functions

 Histogram (void)
 
virtual ~Histogram (void)
 
 Histogram (const size_t &)
 
 Histogram (const Vector< T > &, const Vector< size_t > &)
 
size_t get_bins_number (void) const
 
size_t count_empty_bins (void) const
 
size_t calculate_minimum_frequency (void) const
 
size_t calculate_maximum_frequency (void) const
 
Vector< T > calculate_minimal_centers (void) const
 
Vector< T > calculate_maximal_centers (void) const
 

Public Attributes

Vector< T > centers
 
Vector< size_t > frequencies
 

Detailed Description

template<class T>
struct OpenNN::Histogram< T >

This template contains the data needed to represent a histogram.

Definition at line 57 of file vector.h.

Constructor & Destructor Documentation

template<class T >
OpenNN::Histogram< T >::Histogram ( const size_t &  bins_number)

Bins number constructor.

Bins number constructor.

Parameters
bins_numberNumber of bins in the histogram.

Definition at line 5807 of file vector.h.

template<class T >
OpenNN::Histogram< T >::Histogram ( const Vector< T > &  new_centers,
const Vector< size_t > &  new_frequencies 
)

Values constructor.

Values constructor.

Parameters
new_centersCenter values for the bins.
new_frequenciesNumber of variates in each bin.

Definition at line 5819 of file vector.h.


The documentation for this struct was generated from the following file: