Options
All
  • Public
  • Public/Protected
  • All
Menu

base class for 1-D interpolations.

Classes derived from this class will provide interpolated values from two sequences of equal length, representing discretized values of a variable and a function of the former, respectively.

Hierarchy

Implements

Index

Properties

_extrapolate

_extrapolate: boolean = false

Protected _impl

_impl: Impl = null

Methods

allowsExtrapolation

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

    Returns boolean

Protected checkRange

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

    • x: Real
    • extrapolate: boolean

    Returns void

derivative

  • derivative(x: Real, allowExtrapolation?: boolean): Real
  • Parameters

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

    Returns Real

disableExtrapolation

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

    Parameters

    • Default value b: boolean = true

    Returns void

empty

  • empty(): boolean
  • Returns boolean

enableExtrapolation

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

    Parameters

    • Default value b: boolean = true

    Returns void

f

  • f(x: Real, allowExtrapolation?: boolean): Real
  • Parameters

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

    Returns Real

getExistingHelpers

  • getExistingHelpers(): any
  • Returns any

isInRange

  • isInRange(x: Real): boolean
  • Parameters

    Returns boolean

primitive

  • primitive(x: Real, allowExtrapolation?: boolean): Real
  • Parameters

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

    Returns Real

secondDerivative

  • secondDerivative(x: Real, allowExtrapolation?: boolean): Real
  • Parameters

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

    Returns Real

update

  • update(): void
  • Returns void

xMax

  • Returns Real

xMin

  • Returns Real