Options
All
  • Public
  • Public/Protected
  • All
Menu

This class contains a sampled curve.

Initially the class will contain one indexed curve

Hierarchy

  • SampledCurve

Index

Properties

Private _grid

_grid: Real[]

Private _values

_values: Real[]

Methods

empty

  • empty(): boolean
  • Returns boolean

firstDerivativeAtCenter

  • firstDerivativeAtCenter(): Real
  • todo

    replace or complement with a more general function firstDerivativeAt(spot)

    Returns Real

grid

  • Returns Real[]

gridValue

  • Parameters

    Returns Real

init1

  • Parameters

    • Default value gridSize: Size = 0

    Returns SampledCurve

init2

  • Parameters

    Returns SampledCurve

regrid1

  • regrid1(new_grid: Real[]): void
  • Parameters

    Returns void

regrid2

regridLogGrid

  • regridLogGrid(min: Real, max: Real): void
  • Parameters

    Returns void

sample

scaleGrid

  • scaleGrid(s: Real): void
  • Parameters

    Returns void

secondDerivativeAtCenter

  • secondDerivativeAtCenter(): Real
  • todo

    replace or complement with a more general function secondDerivativeAt(spot)

    Returns Real

set

  • Parameters

    Returns void

setGrid

  • setGrid(g: Real[]): void
  • Parameters

    Returns void

setLogGrid

  • setLogGrid(min: Real, max: Real): void
  • Parameters

    Returns void

setValues

  • setValues(g: Real[]): void
  • Parameters

    Returns void

shiftGrid

  • shiftGrid(s: Real): void
  • Parameters

    Returns void

size

  • Returns Size

swap

  • Parameters

    Returns void

transform

transformGrid

value

  • Parameters

    Returns Real

valueAtCenter

  • valueAtCenter(): Real
  • todo

    replace or complement with a more general function valueAt(spot)

    Returns Real

values

  • Returns Real[]