Package com.opengamma.analytics.financial.covariance

Examples of com.opengamma.analytics.financial.covariance.CovarianceMatrixCalculator.evaluate()


    final Double[] keys = new Double[len];
    for (int i = 0; i < timeSeries.length; i++) {
      keys[i] = (double) i;
    }
    // Calculate the co-variance matrix
    final DoubleMatrix2D unlabelled = calculator.evaluate(timeSeries);
    // Label it
    return new DoubleLabelledMatrix2D(keys, labels, keys, labels, unlabelled.getData());
  }

  // CompiledFunctionDefinition
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.