Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RatioSampler

Hierarchy

  • RatioSampler

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private findRatio

findRatio: (ratios: number[], ratio: number) => number

Type declaration

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

      • ratios: number[]
      • ratio: number

      Returns number

ratios

ratios: number[]

Methods

sample

  • sample(ratio: number): number

Generated using TypeDoc