powered by
Calculate numScen-by-numStep-by-numFund fund scenarios based on given index scenarios indexScen and fund map fundMap that maps indices to funds.
genFundScen(fundMap, indexScen)
A numFund-by-numIndex matrix of doubles, mapping indices to funds.
A numScen-by-numStep-by-numIndex array of doubles, index scenarios.
Outputs a numScen-by-numStep-by-numFund array of doubles of fund scenarios.
# NOT RUN { genFundScen(fundMap, indexScen) # }
Run the code above in your browser using DataLab