Options
All
  • Public
  • Public/Protected
  • All
Menu

Distribution over a number of dates

Hierarchy

Index

Constructors

constructor

  • Parameters

    • dates: Date[]
    • values: Real[]

    Returns TimeBasket

Properties

[Symbol.toStringTag]

[Symbol.toStringTag]: string

size

size: number

Static Map

Map: MapConstructor

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<[Natural, Real]>
  • Returns an iterable of entries in the map.

    Returns IterableIterator<[Natural, Real]>

adda

clear

  • clear(): void
  • Returns void

delete

  • Parameters

    Returns boolean

entries

  • Returns an iterable of key, value pairs for every entry in the map.

    Returns IterableIterator<[Natural, Real]>

forEach

get

  • Parameters

    Returns Real | undefined

has

  • Parameters

    Returns boolean

hasDate

  • hasDate(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

keys

  • keys(): IterableIterator<Natural>
  • Returns an iterable of keys in the map

    Returns IterableIterator<Natural>

rebin

  • Parameters

    • buckets: Date[]

    Returns TimeBasket

set

  • Parameters

    Returns this

suba

values

  • values(): IterableIterator<Real>
  • Returns an iterable of values in the map

    Returns IterableIterator<Real>