Class AssetCovarianceFactor

java.lang.Object
All Implemented Interfaces:
AssetCovariance

public class AssetCovarianceFactor
extends AttributeJointFactor
implements AssetCovariance
AssetCovarianceFactor contains the Joint Factor Covariance for the Pair of the Set of Assets.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • AssetCovarianceFactor

      public AssetCovarianceFactor​(java.lang.String name, java.lang.String id, java.lang.String description) throws java.lang.Exception
      AssetCovarianceFactor Constructor
      Parameters:
      name - The Name
      id - The ID
      description - The Description
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • constrict

      public double[][] constrict​(Holdings holdings)
      Description copied from interface: AssetCovariance
      Constrict the Co-variance Matrix to those of the Holdings
      Specified by:
      constrict in interface AssetCovariance
      Parameters:
      holdings - The Holdings Instance
      Returns:
      The Constricted Co-variance Matrix