Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "scaled"

Index

Functions

Const decodeScaled10

  • decodeScaled10(x: number, min?: number, max?: number): number
  • Parameters

    • x: number
    • Default value min: number = 0
    • Default value max: number = 1

    Returns number

Const decodeScaled16

  • decodeScaled16(x: number, min?: number, max?: number): number
  • Parameters

    • x: number
    • Default value min: number = 0
    • Default value max: number = 1

    Returns number

Const decodeScaled5

  • decodeScaled5(x: number, min?: number, max?: number): number
  • Parameters

    • x: number
    • Default value min: number = 0
    • Default value max: number = 1

    Returns number

Const encodeScaled10

  • encodeScaled10(x: number, min?: number, max?: number): number
  • Parameters

    • x: number
    • Default value min: number = 0
    • Default value max: number = 1

    Returns number

Const encodeScaled16

  • encodeScaled16(x: number, min?: number, max?: number): number
  • Parameters

    • x: number
    • Default value min: number = 0
    • Default value max: number = 1

    Returns number

Const encodeScaled5

  • encodeScaled5(x: number, min?: number, max?: number): number
  • Parameters

    • x: number
    • Default value min: number = 0
    • Default value max: number = 1

    Returns number

Const prescale

  • prescale(x: number, min: number, max: number, bits: number): number
  • Parameters

    • x: number
    • min: number
    • max: number
    • bits: number

    Returns number

Generated using TypeDoc