Arithmetic | Image Quantization Library (image-q)

### Hierarchy

- Arithmetic

## Index

### Methods

- degrees2radians
- intInRange
- max3
- min3
- stableSort

## Methods

### Static degrees2radians

- degrees2radians(n: number): number

- - Defined in utils/arithmetic.ts:3

  #### Parameters

  - ##### n: number

  #### Returns number

### Static intInRange

- intInRange(value: any, low: any, high: any): number

- - Defined in utils/arithmetic.ts:21

  #### Parameters

  - ##### value: any

  - ##### low: any

  - ##### high: any

  #### Returns number

### Static max3

- max3(a: any, b: any, c: any): any

- - Defined in utils/arithmetic.ts:7

  #### Parameters

  - ##### a: any

  - ##### b: any

  - ##### c: any

  #### Returns any

### Static min3

- min3(a: any, b: any, c: any): any

- - Defined in utils/arithmetic.ts:14

  #### Parameters

  - ##### a: any

  - ##### b: any

  - ##### c: any

  #### Returns any

### Static stableSort

- stableSort<T>(arrayToSort: T[], callback: function): T[]

- - Defined in utils/arithmetic.ts:27

  #### Type parameters

  - #### T

  #### Parameters

  - ##### arrayToSort: T[]

  - ##### callback: function

    - - (a: T, b: T): number

      - #### Parameters

        - ##### a: T

        - ##### b: T

        #### Returns number

  #### Returns T[]

Generated using TypeDoc