Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tableau<LHSWidth, RHSWidth>

Type parameters

  • LHSWidth: number

  • RHSWidth: number

Hierarchy

  • Tableau

Index

Constructors

  • new Tableau<LHSWidth, RHSWidth>(rows: Tuple<Row<LHSWidth, RHSWidth>, LHSWidth>): Tableau<LHSWidth, RHSWidth>
  • Type parameters

    • LHSWidth: number

    • RHSWidth: number

    Parameters

    • rows: Tuple<Row<LHSWidth, RHSWidth>, LHSWidth>

    Returns Tableau<LHSWidth, RHSWidth>

Accessors

  • get height(): LHSWidth
  • get lhsWidth(): LHSWidth
  • get rhsWidth(): RHSWidth

Methods

  • checkValidity(): void
  • gauss(): void
  • getLHS(): Tuple<Tuple<number, RHSWidth>, LHSWidth>
  • Gets the left-hand side of the tableau

    Returns Tuple<Tuple<number, RHSWidth>, LHSWidth>

  • getLHSFirsts(): Tuple<number, LHSWidth>
  • Gets the first elements of the left-hand side of the tableau.

    Returns Tuple<number, LHSWidth>

  • inspect(): void
  • Prints out the Tableau

    Returns void

  • jordan(): void
  • lhsGet(x: number, y: number): number
  • Parameters

    • x: number
    • y: number

    Returns number

  • lhsSet(x: number, y: number, value: number): void
  • Parameters

    • x: number
    • y: number
    • value: number

    Returns void

  • orderRows(): void
  • The LHS matrix needs to have the y=-x entries be non-zero

    Returns void

  • solve(): Tuple<Tuple<number, RHSWidth>, LHSWidth>
  • Solves the set of equations

    Returns Tuple<Tuple<number, RHSWidth>, LHSWidth>

  • from<LHSWidth, RHSWidth>(input: Tuple<[Tuple<number, LHSWidth>, Tuple<number, RHSWidth>], LHSWidth>): Tableau<LHSWidth, RHSWidth>
  • Constructs a tableau from nested arrays

    Type parameters

    • LHSWidth: number

    • RHSWidth: number

    Parameters

    • input: Tuple<[Tuple<number, LHSWidth>, Tuple<number, RHSWidth>], LHSWidth>

    Returns Tableau<LHSWidth, RHSWidth>

Generated using TypeDoc