Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ThemeMatrix

Implements

Index

Constructors

constructor

  • Parameters

    • rowArray: readonly [Look<unknown, never>, LookVector<unknown>][]
    • rowIndex: {}
      • [name: string]: number | undefined
    • colArray: readonly [Feel, FeelVector][]
    • colIndex: {}
      • [name: string]: number | undefined

    Returns ThemeMatrix

Properties

Readonly colArray

colArray: readonly [Feel, FeelVector][]

Readonly colIndex

colIndex: {}

Type declaration

  • [name: string]: number | undefined

Readonly rowArray

rowArray: readonly [Look<unknown, never>, LookVector<unknown>][]

Readonly rowIndex

rowIndex: {}

Type declaration

  • [name: string]: number | undefined

Accessors

colCount

  • get colCount(): number
  • Returns number

rowCount

  • get rowCount(): number
  • Returns number

Methods

col

  • Parameters

    Returns ThemeMatrix

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

dot

  • Type parameters

    • T

    Parameters

    Returns undefined | T

  • Parameters

    Returns unknown

dotOr

  • dotOr<T, E>(look: Look<T, never>, col: MoodVector<Feel>, elseValue: E): T | E
  • dotOr(look: string | number, col: MoodVector<Feel>, elseValue: unknown): unknown
  • Type parameters

    • T

    • E

    Parameters

    Returns T | E

  • Parameters

    Returns unknown

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

get

  • Type parameters

    • T

    Parameters

    Returns undefined | T

getCol

  • Parameters

    Returns undefined | FeelVector

  • Parameters

    • name: string

    Returns undefined | FeelVector

  • Parameters

    • index: number

    Returns undefined | FeelVector

getOr

  • Type parameters

    • T

    • E

    Parameters

    Returns T | E

getRow

  • Type parameters

    • T

    Parameters

    • look: Look<T, never>

    Returns undefined | LookVector<T>

  • Parameters

    • name: string

    Returns undefined | LookVector<unknown>

  • Parameters

    • index: number

    Returns undefined | LookVector<unknown>

hasCol

  • hasCol(feel: Feel): boolean
  • hasCol(name: string): boolean
  • Parameters

    Returns boolean

  • Parameters

    • name: string

    Returns boolean

hasRow

  • hasRow(look: Look<unknown, never>): boolean
  • hasRow(name: string): boolean
  • Parameters

    • look: Look<unknown, never>

    Returns boolean

  • Parameters

    • name: string

    Returns boolean

minus

  • Parameters

    Returns ThemeMatrix

negative

  • Returns ThemeMatrix

plus

  • Parameters

    Returns ThemeMatrix

row

  • Type parameters

    • T

    • U = never

    Parameters

    Returns ThemeMatrix

times

  • Parameters

    • scalar: number

    Returns ThemeMatrix

timesCol

  • Parameters

    Returns FeelVector

toString

  • toString(): string
  • Returns string

transform

  • Parameters

    Returns ThemeMatrix

updatedCol

updatedRow

  • Type parameters

    • T

    • U = never

    Parameters

    Returns ThemeMatrix

Static empty

  • Returns ThemeMatrix

Static forCols

  • Parameters

    Returns ThemeMatrix

Static forRows

  • Parameters

    Returns ThemeMatrix

Static fromColArray

  • Parameters

    • colArray: readonly [Feel, FeelVector][]
    • Optional colIndex: {}
      • [name: string]: number | undefined

    Returns ThemeMatrix

Static fromRowArray

  • Parameters

    • rowArray: readonly [Look<unknown, never>, LookVector<unknown>][]
    • Optional rowIndex: {}
      • [name: string]: number | undefined

    Returns ThemeMatrix

Generated using TypeDoc