Public Member Functions | Static Public Attributes | Private Attributes | List of all members
tSinCosLookupTable Class Reference

#include <OwnMath.h>

Public Member Functions

double Cos (int index)
 
double Sin (int index)
 
 tSinCosLookupTable ()
 

Static Public Attributes

static const double cSCALE_FACTOR = 16384. / (2. * M_PI)
 
static const int cTABLE_INDEX_MASK = cTABLE_SIZE-1
 
static const int cTABLE_SIZE = 16384
 

Private Attributes

double m_cos_table [cTABLE_SIZE]
 
double m_sin_table [cTABLE_SIZE]
 

Detailed Description

Definition at line 368 of file OwnMath.h.

Constructor & Destructor Documentation

◆ tSinCosLookupTable()

tSinCosLookupTable::tSinCosLookupTable ( )
inline

Definition at line 371 of file OwnMath.h.

Member Function Documentation

◆ Cos()

double tSinCosLookupTable::Cos ( int  index)
inline

Definition at line 388 of file OwnMath.h.

◆ Sin()

double tSinCosLookupTable::Sin ( int  index)
inline

Definition at line 383 of file OwnMath.h.

Member Data Documentation

◆ cSCALE_FACTOR

const double tSinCosLookupTable::cSCALE_FACTOR = 16384. / (2. * M_PI)
static

Definition at line 395 of file OwnMath.h.

◆ cTABLE_INDEX_MASK

const int tSinCosLookupTable::cTABLE_INDEX_MASK = cTABLE_SIZE-1
static

Definition at line 394 of file OwnMath.h.

◆ cTABLE_SIZE

const int tSinCosLookupTable::cTABLE_SIZE = 16384
static

Definition at line 393 of file OwnMath.h.

◆ m_cos_table

double tSinCosLookupTable::m_cos_table[cTABLE_SIZE]
private

Definition at line 399 of file OwnMath.h.

◆ m_sin_table

double tSinCosLookupTable::m_sin_table[cTABLE_SIZE]
private

Definition at line 398 of file OwnMath.h.


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


asr_mild_base_driving
Author(s): Aumann Florian, Borella Jocelyn, Dehmani Souheil, Marek Felix, Meißner Pascal, Reckling Reno
autogenerated on Mon Feb 28 2022 21:51:09