Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Shared::FloatPairStore Class Reference

#include <float_pair_store.h>

Inheritance diagram for Shared::FloatPairStore:
Regression::Store Statistics::Store

Public Member Functions

 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 int k_maxNumberOfPairs = 100
 

Protected Member Functions

virtual double defaultValue (int i, int j)
 

Protected Attributes

int m_numberOfPairs
 
double m_data [2][k_maxNumberOfPairs]
 

Detailed Description

Definition at line 8 of file float_pair_store.h.

Constructor & Destructor Documentation

◆ FloatPairStore() [1/2]

Shared::FloatPairStore::FloatPairStore ( )

Definition at line 9 of file float_pair_store.cpp.

◆ FloatPairStore() [2/2]

Shared::FloatPairStore::FloatPairStore ( const FloatPairStore )
delete

Member Function Documentation

◆ defaultValue()

double Shared::FloatPairStore::defaultValue ( int  i,
int  j 
)
protectedvirtual

Definition at line 81 of file float_pair_store.cpp.

◆ deleteAllPairs()

void Shared::FloatPairStore::deleteAllPairs ( )

Definition at line 48 of file float_pair_store.cpp.

◆ deletePairAtIndex()

void Shared::FloatPairStore::deletePairAtIndex ( int  j)

Definition at line 36 of file float_pair_store.cpp.

◆ get()

double Shared::FloatPairStore::get ( int  i,
int  j 
)

Definition at line 15 of file float_pair_store.cpp.

◆ numberOfPairs()

int Shared::FloatPairStore::numberOfPairs ( )

Definition at line 32 of file float_pair_store.cpp.

◆ resetColumn()

void Shared::FloatPairStore::resetColumn ( int  i)

Definition at line 57 of file float_pair_store.cpp.

◆ set()

void Shared::FloatPairStore::set ( double  f,
int  i,
int  j 
)

Definition at line 20 of file float_pair_store.cpp.

◆ storeChecksum()

uint32_t Shared::FloatPairStore::storeChecksum ( )

Definition at line 71 of file float_pair_store.cpp.

◆ sumOfColumn()

double Shared::FloatPairStore::sumOfColumn ( int  i)

Definition at line 63 of file float_pair_store.cpp.

Member Data Documentation

◆ k_maxNumberOfPairs

constexpr int Shared::FloatPairStore::k_maxNumberOfPairs = 100
static

Definition at line 21 of file float_pair_store.h.

◆ m_data

double Shared::FloatPairStore::m_data[2][k_maxNumberOfPairs]
protected

Definition at line 25 of file float_pair_store.h.

◆ m_numberOfPairs

int Shared::FloatPairStore::m_numberOfPairs
protected

Definition at line 24 of file float_pair_store.h.


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