Options
All
  • Public
  • Public/Protected
  • All
Menu

Abcd interpolation between discrete points.

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • x: Real[]
    • xBegin: Size
    • xEnd: Size
    • y: Real[]
    • yBegin: Size
    • Default value a: Real = -0.06
    • Default value b: Real = 0.17
    • Default value c: Real = 0.54
    • Default value d: Real = 0.17
    • Default value aIsFixed: boolean = false
    • Default value bIsFixed: boolean = false
    • Default value cIsFixed: boolean = false
    • Default value dIsFixed: boolean = false
    • Default value vegaWeighted: boolean = false
    • Default value endCriteria: EndCriteria = null
    • Default value optMethod: OptimizationMethod = null

    Returns AbcdInterpolation

Properties

Private _coeffs

_extrapolate

_extrapolate: boolean = false

Protected _impl

_impl: Impl = null

Methods

a

  • Returns Real

allowsExtrapolation

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

    Returns boolean

b

  • Returns Real

c

  • Returns Real

Protected checkRange

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

d

  • Returns Real

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

endCriteria

  • endCriteria(): Type
  • Returns Type

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

k1

  • Returns Real[]

k2

  • Parameters

    Returns Real

maxError

  • Returns Real

primitive

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

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

    Returns Real

rmsError

  • Returns Real

secondDerivative

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

update

  • update(): void

xMax

xMin