7 uint32_t uNbStepsDecade,
8 uint32_t uNbSubStepsInStep,
9 uint32_t& uNbBinsLog) {
16 uNbStepsDecade + uNbStepsDecade * uNbSubStepsInStep * uNbDecadesLog;
19 uint32_t uArrayLength = uNbBinsLog + 1;
20 double dBinsLog[uArrayLength];
22 for (uint32_t uSubU = 0; uSubU < uNbStepsDecade; uSubU++) {
23 dBinsLog[uSubU] = 0.1 * (1 + uSubU);
27 double dSubstepSize = 1.0 / uNbSubStepsInStep;
28 for (uint32_t uDecade = 0; uDecade < uNbDecadesLog; uDecade++) {
29 double dBase = std::pow(10, uDecade);
31 uNbStepsDecade + uDecade * uNbStepsDecade * uNbSubStepsInStep;
32 for (uint32_t uStep = 0; uStep < uNbStepsDecade; uStep++) {
33 uint32_t uStepIdx = uDecadeIdx + uStep * uNbSubStepsInStep;
34 for (uint32_t uSubStep = 0; uSubStep < uNbSubStepsInStep; uSubStep++) {
35 dBinsLog[uStepIdx + uSubStep] =
36 dBase * (1 + uStep) + dBase * dSubstepSize * uSubStep;
40 dBinsLog[uNbBinsLog] = std::pow(10, uNbDecadesLog);
43 std::vector<double> dBinsLogVect;
45 for (uint32_t
i = 0;
i < uArrayLength; ++
i) {
46 dBinsLogVect.push_back(dBinsLog[
i]);