Options
All
  • Public
  • Public/Protected
  • All
Menu

Monte Carlo variance-swap engine factory

Hierarchy

  • MakeMCVarianceSwapEngine

Implements

Index

Constructors

constructor

  • Parameters

    • Default value RNG: rng_traits = new PseudoRandom()
    • Default value S: any = new RiskStatistics()

    Returns MakeMCVarianceSwapEngine

Properties

RNG

S

S: any

Private _antithetic

_antithetic: boolean

Private _brownianBridge

_brownianBridge: boolean

Private _maxSamples

_maxSamples: Size

Private _process

Private _samples

_samples: Size

Private _seed

_seed: BigNatural

Private _steps

_steps: Size

Private _stepsPerYear

_stepsPerYear: Size

Private _tolerance

_tolerance: Real

Methods

f

init

withAbsoluteTolerance

withAntitheticVariate

  • Parameters

    • Default value b: boolean = true

    Returns MakeMCVarianceSwapEngine

withBrownianBridge

  • Parameters

    • Default value b: boolean = true

    Returns MakeMCVarianceSwapEngine

withMaxSamples

withSamples

withSeed

withSteps

withStepsPerYear