Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Statistics::Store Class Reference

#include <store.h>

Inheritance diagram for Statistics::Store:
Shared::MemoizedCurveViewRange Shared::FloatPairStore Shared::CurveViewRange

Public Member Functions

 Store ()
 
uint32_t barChecksum ()
 
double barWidth ()
 
void setBarWidth (double barWidth)
 
double firstDrawnBarAbscissa ()
 
void setFirstDrawnBarAbscissa (double firstDrawnBarAbscissa)
 
double heightOfBarAtIndex (int index)
 
double heightOfBarAtValue (double value)
 
double startOfBarAtIndex (int index)
 
double endOfBarAtIndex (int index)
 
double numberOfBars ()
 
bool scrollToSelectedBarIndex (int index)
 
double sumOfOccurrences ()
 
double maxValue ()
 
double minValue ()
 
double range ()
 
double mean ()
 
double variance ()
 
double standardDeviation ()
 
double sampleStandardDeviation ()
 
double firstQuartile ()
 
double thirdQuartile ()
 
double quartileRange ()
 
double median ()
 
double sum ()
 
double squaredValueSum ()
 
- Public Member Functions inherited from Shared::MemoizedCurveViewRange
 MemoizedCurveViewRange ()
 
float xMin () override
 
float xMax () override
 
float yMin () override
 
float yMax () override
 
float xGridUnit () override
 
float yGridUnit () override
 
virtual void setXMin (float f)
 
virtual void setXMax (float f)
 
virtual void setYMin (float f)
 
virtual void setYMax (float f)
 
- Public Member Functions inherited from Shared::CurveViewRange
virtual uint32_t rangeChecksum ()
 
float computeGridUnit (Axis axis, float min, float max)
 
- Public Member Functions inherited from Shared::FloatPairStore
 FloatPairStore ()
 
 FloatPairStore (const FloatPairStore &)=delete
 
double get (int i, int j)
 
void set (double f, int i, int j)
 
int numberOfPairs ()
 
void deletePairAtIndex (int j)
 
void deleteAllPairs ()
 
void resetColumn (int i)
 
double sumOfColumn (int i)
 
uint32_t storeChecksum ()
 

Static Public Attributes

static constexpr double k_maxNumberOfBars = 10000.0
 
static constexpr float k_displayTopMarginRatio = 0.1f
 
static constexpr float k_displayRightMarginRatio = 0.04f
 
static constexpr float k_displayBottomMarginRatio = 0.4f
 
static constexpr float k_displayLeftMarginRatio = 0.04f
 
- Static Public Attributes inherited from Shared::CurveViewRange
static constexpr float k_maxNumberOfXGridUnits = 18.0f
 
static constexpr float k_maxNumberOfYGridUnits = 13.0f
 
- Static Public Attributes inherited from Shared::FloatPairStore
static constexpr int k_maxNumberOfPairs = 100
 

Additional Inherited Members

- Public Types inherited from Shared::CurveViewRange
enum  Axis { Axis::X, Axis::Y }
 
- Protected Attributes inherited from Shared::MemoizedCurveViewRange
float m_xMin
 
float m_xMax
 
float m_yMin
 
float m_yMax
 
float m_xGridUnit
 
float m_yGridUnit
 
- Protected Attributes inherited from Shared::FloatPairStore
int m_numberOfPairs
 
double m_data [2][k_maxNumberOfPairs]
 

Detailed Description

Definition at line 9 of file store.h.

Constructor & Destructor Documentation

◆ Store()

Statistics::Store::Store ( )

Definition at line 12 of file store.cpp.

Member Function Documentation

◆ barChecksum()

uint32_t Statistics::Store::barChecksum ( )

Definition at line 20 of file store.cpp.

◆ barWidth()

double Statistics::Store::barWidth ( )

Definition at line 29 of file store.cpp.

◆ endOfBarAtIndex()

double Statistics::Store::endOfBarAtIndex ( int  index)

Definition at line 65 of file store.cpp.

◆ firstDrawnBarAbscissa()

double Statistics::Store::firstDrawnBarAbscissa ( )

Definition at line 40 of file store.cpp.

◆ firstQuartile()

double Statistics::Store::firstQuartile ( )

Definition at line 141 of file store.cpp.

◆ heightOfBarAtIndex()

double Statistics::Store::heightOfBarAtIndex ( int  index)

Definition at line 48 of file store.cpp.

◆ heightOfBarAtValue()

double Statistics::Store::heightOfBarAtValue ( double  value)

Definition at line 52 of file store.cpp.

◆ maxValue()

double Statistics::Store::maxValue ( )

Definition at line 98 of file store.cpp.

◆ mean()

double Statistics::Store::mean ( )

Definition at line 122 of file store.cpp.

◆ median()

double Statistics::Store::median ( )

Definition at line 155 of file store.cpp.

◆ minValue()

double Statistics::Store::minValue ( )

Definition at line 108 of file store.cpp.

◆ numberOfBars()

double Statistics::Store::numberOfBars ( )

Definition at line 69 of file store.cpp.

◆ quartileRange()

double Statistics::Store::quartileRange ( )

Definition at line 151 of file store.cpp.

◆ range()

double Statistics::Store::range ( )

Definition at line 118 of file store.cpp.

◆ sampleStandardDeviation()

double Statistics::Store::sampleStandardDeviation ( )

Definition at line 135 of file store.cpp.

◆ scrollToSelectedBarIndex()

bool Statistics::Store::scrollToSelectedBarIndex ( int  index)

Definition at line 74 of file store.cpp.

◆ setBarWidth()

void Statistics::Store::setBarWidth ( double  barWidth)

Definition at line 33 of file store.cpp.

◆ setFirstDrawnBarAbscissa()

void Statistics::Store::setFirstDrawnBarAbscissa ( double  firstDrawnBarAbscissa)

Definition at line 44 of file store.cpp.

◆ squaredValueSum()

double Statistics::Store::squaredValueSum ( )

Definition at line 176 of file store.cpp.

◆ standardDeviation()

double Statistics::Store::standardDeviation ( )

Definition at line 131 of file store.cpp.

◆ startOfBarAtIndex()

double Statistics::Store::startOfBarAtIndex ( int  index)

Definition at line 60 of file store.cpp.

◆ sum()

double Statistics::Store::sum ( )

Definition at line 168 of file store.cpp.

◆ sumOfOccurrences()

double Statistics::Store::sumOfOccurrences ( )

Definition at line 94 of file store.cpp.

◆ thirdQuartile()

double Statistics::Store::thirdQuartile ( )

Definition at line 146 of file store.cpp.

◆ variance()

double Statistics::Store::variance ( )

Definition at line 126 of file store.cpp.

Member Data Documentation

◆ k_displayBottomMarginRatio

constexpr float Statistics::Store::k_displayBottomMarginRatio = 0.4f
static

Definition at line 44 of file store.h.

◆ k_displayLeftMarginRatio

constexpr float Statistics::Store::k_displayLeftMarginRatio = 0.04f
static

Definition at line 45 of file store.h.

◆ k_displayRightMarginRatio

constexpr float Statistics::Store::k_displayRightMarginRatio = 0.04f
static

Definition at line 43 of file store.h.

◆ k_displayTopMarginRatio

constexpr float Statistics::Store::k_displayTopMarginRatio = 0.1f
static

Definition at line 42 of file store.h.

◆ k_maxNumberOfBars

constexpr double Statistics::Store::k_maxNumberOfBars = 10000.0
static

Definition at line 41 of file store.h.


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