Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
LinearHistogram1D Class Reference

#include <histogram.h>

Inheritance diagram for LinearHistogram1D:
Collaboration diagram for LinearHistogram1D:

Public Member Functions

 LinearHistogram1D (size_t n, double _low, double _high)
virtual void addValue (double value)
virtual void saveAscii (const char *filename) const
Public Member Functions inherited from Histogram1D
 Histogram1D (size_t n)
 ~Histogram1D ()
void mpi_reduce ()
void save (const char *filename) const
void load (const char *filename)
double operator() (int x)

Private Attributes

double low
double high

Additional Inherited Members

Protected Attributes inherited from Histogram1D
size_t num_bins
double * bins

Detailed Description

Definition at line 78 of file histogram.h.

Constructor & Destructor Documentation

◆ LinearHistogram1D()

LinearHistogram1D::LinearHistogram1D ( size_t n,
double _low,
double _high )
inline

Definition at line 81 of file histogram.h.

Here is the call graph for this function:

Member Function Documentation

◆ addValue()

virtual void LinearHistogram1D::addValue ( double value)
inlinevirtual

Implements Histogram1D.

Definition at line 84 of file histogram.h.

◆ saveAscii()

void LinearHistogram1D::saveAscii ( const char * filename) const
virtual

Reimplemented from Histogram1D.

Definition at line 67 of file histogram.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ high

double LinearHistogram1D::high
private

Definition at line 102 of file histogram.h.

◆ low

double LinearHistogram1D::low
private

Definition at line 102 of file histogram.h.


The documentation for this class was generated from the following files: