Java, Matrix Operations, Portfolio Management, Code Optimization, Open Source.
with 9 million iterations (3,000 x 3,000). As mentioned earlier, the exposure vectors are sparse. For a typical stock or fund, the exposure vectors would range from having 20 to 600 non-zero risk factors. This means if we only iterate over the non-zero risk factors, we can bring down the number of