Class ForwardDecompositionUtil

java.lang.Object
org.drip.analytics.support.ForwardDecompositionUtil

public class ForwardDecompositionUtil
extends java.lang.Object
ForwardDecompositionUtil contains the utility functions needed to carry out periodic decomposition at MTM sync points for the given stream.

Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • ForwardDecompositionUtil

      public ForwardDecompositionUtil()
  • Method Details

    • SinglePeriodStreamDecompose

      public static final Stream[] SinglePeriodStreamDecompose​(Stream fs, int iNumPeriodsToAccumulate)
      Decompose the Stream into an Array of Single Forward Period Floating Streams
      Parameters:
      fs - The Stream
      iNumPeriodsToAccumulate - Number of Forward Periods to roll into one
      Returns:
      The Array of Single Forward Period Streams
    • DualStreamForwardArray

      public static final CalibratableComponent[] DualStreamForwardArray​(DualStreamComponent dsc)
      Decompose the Dual Stream Component into an Array of Single Forward Period Dual Streams
      Parameters:
      dsc - The Dual Stream
      Returns:
      The Array of Single Forward Period Dual Streams
    • CalibratableFixedIncomeComponentForwardArray

      public static final CalibratableComponent[] CalibratableFixedIncomeComponentForwardArray​(CalibratableComponent rc)
      Decompose the Rates Component into an Array of Single Forward Rates Components
      Parameters:
      rc - The Rates Component
      Returns:
      The Array of Single Forward Period Rates Components