Options
All
  • Public
  • Public/Protected
  • All
Menu

Composition of two or more market-model products

Instances of this class build a market-model product by composing one or more subproducts.

All subproducts must have the same rate times.

Hierarchy

Index

Constructors

constructor

Properties

Protected _allEvolutionTimes

_allEvolutionTimes: Time[][]

Protected _cashflowTimes

_cashflowTimes: Time[]

Protected _components

_components: SubProduct[]

Protected _currentIndex

_currentIndex: Size

Protected _evolution

Protected _evolutionTimes

_evolutionTimes: Time[]

Protected _finalized

_finalized: boolean

Protected _isInSubset

_isInSubset: boolean[][]

Protected _rateTimes

_rateTimes: Time[]

Methods

add

  • Parameters

    Returns void

clone

evolution

finalize

  • finalize(): void
  • Returns void

item

maxNumberOfCashFlowsPerProductPerStep

  • maxNumberOfCashFlowsPerProductPerStep(): Size

multiplier

  • Parameters

    Returns Real

nextTimeStep

  • nextTimeStep(currentState: CurveState, numberCashFlowsThisStep: Size[], cashFlowsGenerated: CashFlow[][]): boolean

numberOfProducts

  • numberOfProducts(): Size

possibleCashFlowTimes

  • possibleCashFlowTimes(): Time[]

reset

  • reset(): void

size

  • Returns Size

subtract

  • Parameters

    Returns void

suggestedNumeraires

  • suggestedNumeraires(): Size[]