Object-oriented Scientific Computing Library: Version 0.908
Public Member Functions
hist_base Class Reference

A base class for histograms. More...

#include <hist_grid.h>

Inheritance diagram for hist_base:
hist hist_2d

Detailed Description

This base class contains a few functions for creating histogram grids.

Definition at line 67 of file hist_grid.h.

Public Member Functions

hist_grid grid_size (double start, double size, size_t n, bool log=false)
 Construct a histogram grid based on a fixed bin size.
hist_grid grid_end (double start, double end, size_t n, bool log=false)
 Construct a histogram grid based on fixed start and end points.
hist_grid grid_end_size (double start, double end, double size, bool log=false)
 Construct a histogram grid based on fixed start and end points and a fixed bin size.
template<class vec_t >
int uniform_grid_internal (double start, double end, double bin_size, size_t n, vec_t &v)
 An internal function used by the histogram classes to generate a uniform grid.
template<class vec_t >
int logarithmic_grid_internal (double start, double end, double bin_factor, size_t n, vec_t &v)
 An internal function used by the histogram classes to generate a logarithmic grid.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information). Project hosting by Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads .