STK++ 0.9.13
STK_Constants.h File Reference

In this file we define the main constant which will be used through the STK++ project. More...

#include <climits>
Include dependency graph for STK_Constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  STK
 The namespace STK is the main domain space of the Statistical ToolKit project.
 

Macros

#define MAXUNROLLVALUE   20
 
#define MAXUNROLLSLICEVALUE   5
 
#define MAXFIXEDSIZEVALUE   1024
 

Variables

const int STK::baseIdx = 0
 base index of the containers created in STK++.
 
const int STK::maxFixedSize = 1024
 maximal size of fixed size containers This value is used when fixed size containers are automatically build in internal computation
 
const int STK::UnknownSize = INT_MAX
 This value means that an integer is not known at compile-time, and that instead the value is stored in some runtime variable.
 
const int STK::SqrtUnknownSize = (1 << (sizeof(int) * (CHAR_BIT/2)))
 Same as floor(sqrt(INT_MAX+1))
 
const int STK::MaxUnroll = 20
 When don't unroll loops on fixed size containers if fixed size is greater than this value.
 
const int STK::MaxUnrollSlice = 5
 This value means that when we unroll loops we go until MaxUnrollSlice.
 

Detailed Description

In this file we define the main constant which will be used through the STK++ project.

Definition in file STK_Constants.h.

Macro Definition Documentation

◆ MAXFIXEDSIZEVALUE

#define MAXFIXEDSIZEVALUE   1024

Definition at line 50 of file STK_Constants.h.

◆ MAXUNROLLSLICEVALUE

#define MAXUNROLLSLICEVALUE   5

Definition at line 46 of file STK_Constants.h.

◆ MAXUNROLLVALUE

#define MAXUNROLLVALUE   20

Definition at line 42 of file STK_Constants.h.