Options
All
  • Public
  • Public/Protected
  • All
Menu

Implementation of the 2D kernel interpolation approach, which can be found in "Foreign Exchange Risk" by Hakala, Wystup page 256.

The kernel in the implementation is kept general, although a Gaussian is considered in the cited text.

warning

See the Interpolation class for information about the required lifetime of the underlying data.

Hierarchy

Implements

Index

Constructors

constructor

Properties

_extrapolate

_extrapolate: boolean = false

_impl

_impl: Impl

Methods

allowsExtrapolation

  • allowsExtrapolation(): boolean
  • tells whether extrapolation is enabled

    Returns boolean

checkRange

  • checkRange(x: Real, y: Real, extrapolate: boolean): void

disableExtrapolation

  • disableExtrapolation(b?: boolean): void
  • disable extrapolation in subsequent calls

    Parameters

    • Default value b: boolean = true

    Returns void

enableExtrapolation

  • enableExtrapolation(b?: boolean): void
  • enable extrapolation in subsequent calls

    Parameters

    • Default value b: boolean = true

    Returns void

f

  • Parameters

    • x: Real
    • y: Real
    • Default value allowExtrapolation: boolean = false

    Returns Real

isInRange

locateX

locateY

update

  • update(): void
  • Returns void

xMax

xMin

xValues

yMax

yMin

yValues

zData