Options
All
  • Public
  • Public/Protected
  • All
Menu

Backward-flat interpolation between discrete points

Hierarchy

Implements

Index

Constructors

constructor

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

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

isInRange

  • isInRange(x: Real): 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

update

  • update(): void

xMax

xMin