Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "stats/incr/covariance/docs/types/index.d"

Index

Type aliases

Functions

Type aliases

accumulator

accumulator: (x?: undefined | number, y?: undefined | number) => number | null

If provided arguments, returns an updated unbiased sample covariance; otherwise, returns the current unbiased sample covariance.

Notes

  • If provided NaN or a value which, when used in computations, results in NaN, the accumulated value is NaN for all future invocations.
param

value

param

value

returns

unbiased sample covariance

Type declaration

    • (x?: undefined | number, y?: undefined | number): number | null
    • Parameters

      • Optional x: undefined | number
      • Optional y: undefined | number

      Returns number | null

Functions

Export assignment incrcovariance