Java, Matrix Operations, Portfolio Management, Code Optimization, Open Source.
model with up to 3,000 risk factors. What this means in terms of the matrices and vectors sizing, we will be constructing a symmetrical matrix with 3,000 rows x 3,000 columns, and our exposure vectors will have 3,000 elements. Using the innerProduct to calculate the variance translates to a loop