Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RatioSampler

Hierarchy

  • RatioSampler

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • ratios: number[]

    Returns RatioSampler

Properties

Private findRatio

findRatio: function

Type declaration

    • (ratios: number[], ratio: number): number
    • Parameters

      • ratios: number[]
      • ratio: number

      Returns number

ratios

ratios: number[]

Methods

sample

  • sample(ratio: number): number
  • Parameters

    • ratio: number

    Returns number

Generated using TypeDoc