99//#define INDEX(x,y) ((x-1)+((NBR_ASSET_CLASSES)*(y-1))) ///< this macro allows to address int cell = array[INDEX(2,3)]; in stead of array[2+NBR_ASSET_CLASSES*3]; (using a one dimensional array to store a two dimnesional one!)
101/*#define INDEX(x,y) ((x)+((NBR_ASSET_CLASSES)*(y))) ///< this macro allows to address int cell = array[INDEX(2,3)]; in stead of array[2+NBR_ASSET_CLASSES*3]; (using a one dimensional array to store a two dimnesional one!)*/
102
103
104
105//#define DEBUG
106
107
108#include <iostream>
109#include <string>
110#include <ctime>
111#include <vector>
112#include <map>
113#include <unordered_map>
114#include <math.h>
115#include <locale>
116#include <iomanip>// used in the curr_format() function
117#include <errno.h>
118
119#include "normdist.h"// has to be loaded before cgicc, conflicts with typedef class cgicc::HTMLBooleanElement<cgicc::aTag> cgicc::a